public class ReplyException extends VertxException
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.
| Constructor and Description | 
|---|
ReplyException(ReplyFailure failureType)
Create a ReplyException 
 | 
ReplyException(ReplyFailure failureType,
              int failureCode,
              String message)
Create a ReplyException 
 | 
ReplyException(ReplyFailure failureType,
              String message)
Create a ReplyException 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
failureCode()
Get the failure code for the message 
 | 
ReplyFailure | 
failureType()
Get the failure type for the message 
 | 
String | 
toString()  | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ReplyException(ReplyFailure failureType, int failureCode, String message)
failureType - the failure typefailureCode - the failure codemessage - the failure messagepublic ReplyException(ReplyFailure failureType, String message)
failureType - the failure typemessage - the failure messagepublic ReplyException(ReplyFailure failureType)
failureType - the failure typepublic ReplyFailure failureType()
public int failureCode()
Copyright © 2020 Eclipse. All rights reserved.