|
||||||||||
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,
ResultResponse response,
ResultCodeEnum code,
LdapDN matchedDn,
java.lang.Throwable cause)
Creates a DecoderException |
Method Summary | |
---|---|
Message |
getResponse()
Get the constructed response |
void |
setResponse(Message 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, ResultResponse response, ResultCodeEnum code, LdapDN matchedDn, java.lang.Throwable cause)
message
- A message with meaning to a humancause
- The Exception which caused the errorMethod Detail |
---|
public void setResponse(Message response)
response
- the constructed responsepublic Message getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |