Package org.moera.lib.crypto
Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moera.lib.crypto.CryptoException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCryptoException
(String message) Constructs a newCryptoException
with the specified detail message.CryptoException
(Throwable cause) Constructs a newCryptoException
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
-
CryptoException
Constructs a newCryptoException
with the specified detail message.- Parameters:
message
- the detail message explaining the cause of the exception
-
CryptoException
Constructs a newCryptoException
with the specified cause.- Parameters:
cause
- the underlying cause of this exception
-