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.
|
| Modifier and Type | Method and Description |
|---|---|
InternalMessage |
getResponse()
Get the constructed response
|
void |
setResponse(InternalMessage response)
Set a response if we get an exception while parsing the message
|
addThrowable, isEmpty, listNestedExceptions, printStackTrace, printStackTrace, printStackTrace, sizeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic ResponseCarryingMessageException()
public ResponseCarryingMessageException(String message)
message - The message associated with the exception.public void setResponse(InternalMessage response)
response - the constructed responsepublic InternalMessage getResponse()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.