org.bouncycastle.crypto

## Class RuntimeCryptoException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.bouncycastle.crypto.RuntimeCryptoException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    DataLengthException

      public class RuntimeCryptoException
      extends RuntimeException

  the foundation class for the exceptions thrown by the crypto packages.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RuntimeCryptoException()` base constructor.
    `RuntimeCryptoException(String message)` create a RuntimeCryptoException with the given message.

  - ### Method Summary

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

      `addSuppressed, fillInStackTrace, getCause, 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

    - #### RuntimeCryptoException

          public RuntimeCryptoException()

      base constructor.

    - #### RuntimeCryptoException

          public RuntimeCryptoException(String message)

      create a RuntimeCryptoException with the given message.
      Parameters:
        `message` - the message to be carried with the exception.