org.bouncycastle.jce.provider
Class AnnotatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.bouncycastle.jce.provider.AnnotatedException
All Implemented Interfaces:
java.io.Serializable, ExtException

public class AnnotatedException
extends java.lang.Exception
implements ExtException

See Also:
Serialized Form

Field Summary
private  java.lang.Throwable _underlyingException
           
 
Constructor Summary
AnnotatedException(java.lang.String string)
           
AnnotatedException(java.lang.String string, java.lang.Throwable e)
           
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of the exception.
(package private)  java.lang.Throwable getUnderlyingException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

_underlyingException

private java.lang.Throwable _underlyingException
Constructor Detail

AnnotatedException

AnnotatedException(java.lang.String string,
                   java.lang.Throwable e)

AnnotatedException

AnnotatedException(java.lang.String string)
Method Detail

getUnderlyingException

java.lang.Throwable getUnderlyingException()

getCause

public java.lang.Throwable getCause()
Description copied from interface: ExtException
Returns the cause of the exception.

Specified by:
getCause in interface ExtException
Overrides:
getCause in class java.lang.Throwable
Returns:
The cause of the exception.