public class ResponseCarryingMessageException extends RuntimeMultiException
Constructor and Description |
---|
ResponseCarryingMessageException()
Constructs an Exception without a message.
|
ResponseCarryingMessageException(String message)
Constructs an Exception with a detailed message.
|
ResponseCarryingMessageException(String message,
Throwable cause)
Constructs an Exception with a detailed message.
|
ResponseCarryingMessageException(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, size
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public ResponseCarryingMessageException()
public ResponseCarryingMessageException(Throwable cause)
cause
- The original causepublic ResponseCarryingMessageException(String message)
message
- The message associated with the exception.public ResponseCarryingMessageException(String message, Throwable cause)
message
- The message associated with the exception.cause
- The original causepublic void setResponse(Message response)
response
- the constructed responsepublic Message getResponse()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.