Class CryptoException

All Implemented Interfaces:

Serializable


public final class CryptoException extends IllegalStateException
CryptoException

Signals a failure inside the SDK's cryptographic primitives, typically wrapping a JDK GeneralSecurityException. Extends IllegalStateException so it remains unchecked for existing callers.

See Also:
  • Constructor Details

    • CryptoException

      public CryptoException(String message)
      Creates a crypto exception.
      Parameters:

      message - Failure reason.

    • CryptoException

      public CryptoException(String message, Throwable cause)
      Creates a crypto exception wrapping an underlying cause.
      Parameters:

      message - Failure reason.

      cause - Underlying cause.

    • CryptoException

      public CryptoException(Throwable cause)
      Creates a crypto exception wrapping an underlying cause (no explicit message).
      Parameters:

      cause - Underlying cause.