open class ServiceException : ReplyException
An Exception to be returned from Service implementations.
Author
Dan O'Reilly
ServiceException(failureCode: Int, message: String)
Create a ServiceException. ServiceException(failureCode: Int, message: String, debugInfo: JsonObject) |
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. |
|
open fun getDebugInfo(): JsonObject
Get the Debugging information provided to this ServiceException |
open fun failureCode(): Int
Get the failure code for the message |
|
open fun failureType(): ReplyFailure
Get the failure type for the message |
|
open fun toString(): String |