Class DecryptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
io.github.fherbreteau.vodozemac.exception.DecryptionException
- All Implemented Interfaces:
Serializable
Thrown when decrypting an Olm or Megolm message fails.
This includes failures due to invalid MAC, invalid padding, or attempting to decrypt a message whose index is before the session's first known index (the message key has been discarded).
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDecryptionException(String message) Constructs a newDecryptionExceptionwith the specified detail message.DecryptionException(String message, Throwable cause) Constructs a newDecryptionExceptionwith 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
-
DecryptionException
Constructs a newDecryptionExceptionwith the specified detail message.- Parameters:
message- the detail message
-
DecryptionException
-