Class CryptoJDKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.barbantfintech.tools.common.cryptojdk.exceptions.CryptoJDKException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCryptoJDKException
(String message) Constructs a newCryptoJDKException
with the specified detail message.CryptoJDKException
(Throwable cause) Constructs a newCryptoJDKException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CryptoJDKException
Constructs a newCryptoJDKException
with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
CryptoJDKException
Constructs a newCryptoJDKException
with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-