vertx / io.vertx.serviceproxy / ServiceException

# ServiceException

`open class ServiceException : ReplyException`

An Exception to be returned from Service implementations.

Author
Dan O'Reilly

### Constructors

<init> | `ServiceException(failureCode: Int, message: String)` Create a ServiceException. `ServiceException(failureCode: Int, message: String, debugInfo: JsonObject)`

### Functions

fail | `open static fun <T : Any> fail(failureCode: Int, message: String): AsyncResult<T>` `open static fun <T : Any> fail(failureCode: Int, message: String, debugInfo: JsonObject): AsyncResult<T>` Create a failed Future containing a ServiceException.
getDebugInfo | `open fun getDebugInfo(): JsonObject` Get the Debugging information provided to this ServiceException

### Inherited 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`