public class ResponseCarryingException extends DecoderException
Constructor and Description |
---|
ResponseCarryingException(String message)
Creates a DecoderException
|
ResponseCarryingException(String message,
InternalResultResponse response,
ResultCodeEnum code,
DN matchedDn,
Throwable cause)
Creates a DecoderException
|
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
|
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, InternalResultResponse response, ResultCodeEnum code, DN matchedDn, Throwable cause)
message
- A message with meaning to a humancause
- The Exception which caused the errorpublic void setResponse(InternalMessage response)
response
- the constructed responsepublic InternalMessage getResponse()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.