com.unboundid.asn1
Class ASN1Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.unboundid.util.LDAPSDKException
              extended by com.unboundid.asn1.ASN1Exception
All Implemented Interfaces:
java.io.Serializable

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:
Serialized Form

Constructor Summary
ASN1Exception(java.lang.String message)
          Creates a new ASN.1 exception with the provided message.
ASN1Exception(java.lang.String message, java.lang.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, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASN1Exception

public ASN1Exception(java.lang.String message)
Creates a new ASN.1 exception with the provided message.

Parameters:
message - A message explaining the problem that occurred.

ASN1Exception

public ASN1Exception(java.lang.String message,
                     java.lang.Throwable cause)
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.