jp.bitmeister.asn1.exception
Class ASN1RuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jp.bitmeister.asn1.exception.ASN1RuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ASN1IllegalArgument, ASN1IllegalDefinition, ASN1InvalidDataValue

public class ASN1RuntimeException
extends java.lang.RuntimeException

The general exception that related to this library and not requied to be caught.

Author:
WATANABE, Jun.
See Also:
Serialized Form

Constructor Summary
ASN1RuntimeException()
           
 
Method Summary
 java.lang.String getMessage()
           
 void setMessage(java.lang.String description, java.lang.Throwable cause, java.lang.Class<? extends ASN1Type> type, java.lang.String element, ASN1Type data)
          Set detailed message of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ASN1RuntimeException

public ASN1RuntimeException()
Method Detail

setMessage

public void setMessage(java.lang.String description,
                       java.lang.Throwable cause,
                       java.lang.Class<? extends ASN1Type> type,
                       java.lang.String element,
                       ASN1Type data)
Set detailed message of this exception.

Parameters:
description - The description of this exception.
cause - The cause exception of this exception.
type - The ASN.1 type related to this exception.
element - The element name related to this exception.
data - The ASN.1 data related to this exception.

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable