public class ResponseCarryingMessageException extends RuntimeMultiException
| Modifier and Type | Field and Description |
|---|---|
private Message |
response
The response with the error cause
|
private static long |
serialVersionUID
Declares the Serial Version Uid.
|
| Constructor and Description |
|---|
ResponseCarryingMessageException()
Constructs an Exception without a message.
|
ResponseCarryingMessageException(java.lang.String message)
Constructs an Exception with a detailed message.
|
ResponseCarryingMessageException(java.lang.String message,
java.lang.Throwable cause)
Constructs an Exception with a detailed message.
|
ResponseCarryingMessageException(java.lang.Throwable cause)
Constructs an Exception without a message.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
getResponse()
Get the constructed response
|
void |
setResponse(Message response)
Set a response if we get an exception while parsing the message
|
addThrowable, isEmpty, listNestedExceptions, printStackTrace, printStackTrace, printStackTrace, sizeprivate static final long serialVersionUID
private Message response
public ResponseCarryingMessageException()
public ResponseCarryingMessageException(java.lang.Throwable cause)
cause - The original causepublic ResponseCarryingMessageException(java.lang.String message)
message - The message associated with the exception.public ResponseCarryingMessageException(java.lang.String message,
java.lang.Throwable cause)
message - The message associated with the exception.cause - The original cause