|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.directory.shared.asn1.codec.DecoderException
org.apache.directory.shared.ldap.codec.ResponseCarryingException
public class ResponseCarryingException
Thrown when a Decoder has encountered a failure condition during a decode.
Constructor Summary | |
---|---|
ResponseCarryingException(java.lang.String message)
Creates a DecoderException |
|
ResponseCarryingException(java.lang.String message,
InternalResultResponse response,
ResultCodeEnum code,
DN matchedDn,
java.lang.Throwable cause)
Creates a DecoderException |
Method Summary | |
---|---|
InternalMessage |
getResponse()
Get the constructed response |
void |
setResponse(InternalMessage response)
Set a response if we get an exception while parsing the message |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResponseCarryingException(java.lang.String message)
message
- A message with meaning to a humanpublic ResponseCarryingException(java.lang.String message, InternalResultResponse response, ResultCodeEnum code, DN matchedDn, java.lang.Throwable cause)
message
- A message with meaning to a humancause
- The Exception which caused the errorMethod Detail |
---|
public void setResponse(InternalMessage response)
response
- the constructed responsepublic InternalMessage getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |