vertx / io.vertx.reactivex.core.net / NetServer / exceptionHandler

exceptionHandler

open fun exceptionHandler(handler: Handler<Throwable>): NetServer

Set an exception handler called for socket errors happening before the connection is passed to the io.vertx.reactivex.core.net.NetServer#connectHandler, e.g during the TLS handshake.

Parameters

handler - the handler to set

Return
a reference to this, so the API can be used fluently