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.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final ReplyFailure |
| Access | Constructor and Description |
|---|---|
| public | ReplyException(ReplyFailure
the failure type failureType, int the failure code (e.g. 404) failureCode, String the failure message message, boolean noStackTrace)Create a ReplyException with all attributes. |
| protected | ReplyException(ReplyFailure
the failure type failureType, int the failure code (e.g. 404) failureCode, String the failure message message, Throwable cause, boolean noStackTrace)Create a ReplyException with all attributes, including cause. |
| public | ReplyException(ReplyFailure
the failure type failureType, int the failure code failureCode, String the failure message message)Create a ReplyException |
| public | ReplyException(ReplyFailure
the failure type failureType, String the failure message message)Create a ReplyException |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ReplyFailure | |
| public String |
| failureCode | back to summary |
|---|---|
| private final int failureCode | |
| failureType | back to summary |
|---|---|
| private final ReplyFailure failureType | |
| ReplyException | back to summary |
|---|---|
| public ReplyException(ReplyFailure failureType, int failureCode, String message, boolean noStackTrace) Create a ReplyException with all attributes.
| |
| ReplyException | back to summary |
|---|---|
| protected ReplyException(ReplyFailure failureType, int failureCode, String message, Throwable cause, boolean noStackTrace) Create a ReplyException with all attributes, including cause.
| |
| ReplyException | back to summary |
|---|---|
| public ReplyException(ReplyFailure failureType, int failureCode, String message) Create a ReplyException
| |
| ReplyException | back to summary |
|---|---|
| public ReplyException(ReplyFailure failureType, String message) Create a ReplyException
| |
| ReplyException | back to summary |
|---|---|
| public ReplyException(ReplyFailure failureType) Create a ReplyException
| |
| failureCode | back to summary |
|---|---|
| public int failureCode() Get the failure code for the message
| |
| failureType | back to summary |
|---|---|
| public ReplyFailure failureType() Get the failure type for the message
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a short description of this throwable. The result is the concatenation of:
getLocalizedMessage returns null, then just
the class name is returned.
| |