public class ResponseCarryingException extends DecoderException
| 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 |
|---|
ResponseCarryingException(java.lang.String message)
Creates a DecoderException
|
ResponseCarryingException(java.lang.String message,
ResultResponse response,
ResultCodeEnum code,
Dn matchedDn,
java.lang.Throwable cause)
Creates a DecoderException
|
ResponseCarryingException(java.lang.String message,
java.lang.Throwable cause)
Creates a DecoderException
|
| 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
|
private static final long serialVersionUID
private Message response
public ResponseCarryingException(java.lang.String message)
message - A message with meaning to a humanpublic ResponseCarryingException(java.lang.String message,
java.lang.Throwable cause)
message - A message with meaning to a humancause - The original causepublic ResponseCarryingException(java.lang.String message,
ResultResponse response,
ResultCodeEnum code,
Dn matchedDn,
java.lang.Throwable cause)
message - A message with meaning to a humancause - The Exception which caused the error