Package com.unboundid.asn1
Class ASN1Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
com.unboundid.asn1.ASN1Exception
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ASN1Exception
extends LDAPSDKException
This class defines an exception that can be thrown if a problem occurs while
interacting with ASN.1 BER elements.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionASN1Exception(String message) Creates a new ASN.1 exception with the provided message.ASN1Exception(String message, Throwable cause) Creates a new ASN.1 exception with the provided message and cause. -
Method Summary
Methods inherited from class com.unboundid.util.LDAPSDKException
getExceptionMessage, getExceptionMessage, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ASN1Exception
Creates a new ASN.1 exception with the provided message.- Parameters:
message- A message explaining the problem that occurred.
-
ASN1Exception
Creates a new ASN.1 exception with the provided message and cause.- Parameters:
message- A message explaining the problem that occurred.cause- The underlying cause for this exception.
-