Class CryptoException

All Implemented Interfaces:
Serializable

public class CryptoException extends RuntimeException
Represents an exception related to cryptographic operations. This exception serves as a wrapper for other cryptographic errors, providing a unified and descriptive way to handle such exceptions.
See Also:
  • Constructor Details

    • CryptoException

      public CryptoException(String message)
      Constructs a new CryptoException with the specified detail message.
      Parameters:
      message - the detail message explaining the cause of the exception
    • CryptoException

      public CryptoException(Throwable cause)
      Constructs a new CryptoException with the specified cause.
      Parameters:
      cause - the underlying cause of this exception