org.mozilla.jss.asn1
Class InvalidBERException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.mozilla.jss.asn1.InvalidBERException
Direct Known Subclasses:
InvalidBERException.EOF, InvalidBERException.InvalidChar

public class InvalidBERException
extends java.lang.Exception

An exception thrown when BER decoding fails.

See Also:
Serialized Form

Inner Class Summary
static interface InvalidBERException.EOF
           
static interface InvalidBERException.InvalidChar
           
 
Constructor Summary
InvalidBERException(InvalidBERException e, java.lang.String mesg)
           
InvalidBERException(java.lang.String mesg)
           
 
Method Summary
 java.lang.String toString()
          Prints out the exception class and error message, including all the nested exceptions.
 java.lang.String toStringNested()
          Prints out the error message of this exception, including all the nested exceptions.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidBERException

public InvalidBERException(java.lang.String mesg)

InvalidBERException

public InvalidBERException(InvalidBERException e,
                           java.lang.String mesg)
Method Detail

toString

public java.lang.String toString()
Prints out the exception class and error message, including all the nested exceptions.
Overrides:
toString in class java.lang.Throwable

toStringNested

public java.lang.String toStringNested()
Prints out the error message of this exception, including all the nested exceptions.