Package org.apache.directory.api.asn1
Class EncoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.directory.api.asn1.EncoderException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MessageEncoderException
public class EncoderException extends Exception
Thrown when there is a failure condition during the encoding process. This exception is thrown when an Encoder encounters a encoding specific exception such as invalid data, inability to calculate a checksum, characters outside of the expected range.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EncoderException(String message)
Creates a new instance of this exception with an useful message.EncoderException(String message, Exception cause)
Creates a new instance of this exception with an useful message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EncoderException
public EncoderException(String message)
Creates a new instance of this exception with an useful message.- Parameters:
message
- a useful message relating to the encoder specific error.
-
EncoderException
public EncoderException(String message, Exception cause)
Creates a new instance of this exception with an useful message.- Parameters:
message
- a useful message relating to the encoder specific error.cause
- The parent exception
-
-