Class CryptoJDKException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.barbantfintech.tools.common.cryptojdk.exceptions.CryptoJDKException
All Implemented Interfaces:
Serializable

public class CryptoJDKException extends Exception
Exception thrown by the library to indicate various error conditions.

This exception is a general-purpose exception for the library and can be used to signify errors including but not limited to invalid operations, unexpected conditions, and other library-specific exceptions.

See Also:
  • Constructor Details

    • CryptoJDKException

      public CryptoJDKException(String message)
      Constructs a new CryptoJDKException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
    • CryptoJDKException

      public CryptoJDKException(Throwable cause)
      Constructs a new CryptoJDKException with the specified cause.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)