Class EncryptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
io.github.fherbreteau.vodozemac.exception.EncryptionException
- All Implemented Interfaces:
Serializable
Thrown when encrypting a message fails.
This includes failures due to non-contributory keys in the Diffie-Hellman operation, where the shared secret does not provide sufficient security guarantees.
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptionException(String message) Constructs a newEncryptionExceptionwith the specified detail message.EncryptionException(String message, Throwable cause) Constructs a newEncryptionExceptionwith the specified detail message and a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EncryptionException
Constructs a newEncryptionExceptionwith the specified detail message.- Parameters:
message- the detail message
-
EncryptionException
-