Class ResponseCarryingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.directory.api.asn1.DecoderException
-
- org.apache.directory.api.ldap.codec.api.ResponseCarryingException
-
- All Implemented Interfaces:
Serializable
public class ResponseCarryingException extends DecoderException
Thrown when a Decoder has encountered a failure condition during a decode.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseCarryingException(String message)Creates a DecoderExceptionResponseCarryingException(String message, Throwable cause)Creates a DecoderExceptionResponseCarryingException(String message, ResultResponse response, ResultCodeEnum code, Dn matchedDn, Throwable cause)Creates a DecoderException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagegetResponse()Get the constructed responsevoidsetResponse(Message response)Set a response if we get an exception while parsing the message-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResponseCarryingException
public ResponseCarryingException(String message)
Creates a DecoderException- Parameters:
message- A message with meaning to a human
-
ResponseCarryingException
public ResponseCarryingException(String message, Throwable cause)
Creates a DecoderException- Parameters:
message- A message with meaning to a humancause- The original cause
-
ResponseCarryingException
public ResponseCarryingException(String message, ResultResponse response, ResultCodeEnum code, Dn matchedDn, Throwable cause)
Creates a DecoderException- Parameters:
message- A message with meaning to a humanresponse- The response to storecode- the ResultCodematchedDn- The Matched DNcause- The Exception which caused the error
-
-