Class EncryptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jwcarman.codec.CodecException
org.jwcarman.codec.TransientCodecException
org.jwcarman.codec.crypto.EncryptionException
- All Implemented Interfaces:
Serializable
Exception indicating a failure during the encryption operation.
This exception signals that the encryption process could not complete successfully. This may
occur due to cryptographic provider failures, state violations, or other encode-side issues. The
message and cause provide diagnostic details about the underlying failure. It is a TransientCodecException: the value is not at fault, the provider or strategy is.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptionException(String message) Creates an encode-side failure.EncryptionException(String message, Throwable cause) Creates an encode-side failure carrying the underlying cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EncryptionException
Creates an encode-side failure.- Parameters:
message- what failed; must not reveal key material
-
EncryptionException
-