AnnotatedException (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.jce.provider

## Class AnnotatedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - 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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AnnotatedException(java.lang.String string)`
    `AnnotatedException(java.lang.String string, java.lang.Throwable e)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Throwable` | `getCause()` Returns the cause of the exception.

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### AnnotatedException

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

    - #### AnnotatedException

          public AnnotatedException(java.lang.String string)

  - ### Method Detail

    - #### 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.