vertx / io.vertx.core.eventbus / ReplyException

ReplyException

open class ReplyException : VertxException

Represents the failure of a message send.

If a message was sent specifying a reply handler and the message delivery fails, a failure will be provided to the reply handler and the cause of the failure will be an instance of this.

Author
Tim Fox

Constructors

<init>

ReplyException(failureType: ReplyFailure, failureCode: Int, message: String)
ReplyException(failureType: ReplyFailure, message: String)
ReplyException(failureType: ReplyFailure)

Create a ReplyException

Functions

failureCode

open fun failureCode(): Int

Get the failure code for the message

failureType

open fun failureType(): ReplyFailure

Get the failure type for the message

toString

open fun toString(): String

Inheritors

ServiceException

open class ServiceException : ReplyException

An Exception to be returned from Service implementations.