public class ResponseCarryingException extends DecoderException
Constructor and Description |
---|
ResponseCarryingException(String message)
Creates a DecoderException
|
ResponseCarryingException(String message,
ResultResponse response,
ResultCodeEnum code,
Dn matchedDn,
Throwable cause)
Creates a DecoderException
|
ResponseCarryingException(String message,
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
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResponseCarryingException(String message)
message
- A message with meaning to a humanpublic ResponseCarryingException(String message, Throwable cause)
message
- A message with meaning to a humancause
- The original causepublic ResponseCarryingException(String message, ResultResponse response, ResultCodeEnum code, Dn matchedDn, Throwable cause)
message
- A message with meaning to a humanresponse
- The response to storecode
- the ResultCodematchedDn
- The Matched DNcause
- The Exception which caused the errorpublic void setResponse(Message response)
response
- the constructed responsepublic Message getResponse()
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.