org.opends.server.protocols.asn1
Class ASN1Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opends.server.types.OpenDsException
              extended by org.opends.server.types.IdentifiedException
                  extended by org.opends.server.protocols.asn1.ASN1Exception
All Implemented Interfaces:
java.io.Serializable

@PublicAPI(stability=UNCOMMITTED,
           mayInstantiate=true,
           mayExtend=false,
           mayInvoke=true)
public final class ASN1Exception
extends IdentifiedException

This class defines an exception that may be thrown if a problem occurs while interacting with an ASN.1 element.

See Also:
Serialized Form

Constructor Summary
ASN1Exception(Message message)
          Creates a new ASN.1 exception with the provided message.
ASN1Exception(Message message, java.lang.Throwable cause)
          Creates a new ASN.1 exception with the provided message and root cause.
 
Method Summary
 
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
 
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

ASN1Exception

public ASN1Exception(Message message)
Creates a new ASN.1 exception with the provided message.

Parameters:
message - The message that explains the problem that occurred.

ASN1Exception

public ASN1Exception(Message message,
                     java.lang.Throwable cause)
Creates a new ASN.1 exception with the provided message and root cause.

Parameters:
message - The message that explains the problem that occurred.
cause - The exception that was caught to trigger this exception.