Class DecryptionException

All Implemented Interfaces:
Serializable

public class DecryptionException extends VodozemacException
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 Details

    • DecryptionException

      public DecryptionException(String message)
      Constructs a new DecryptionException with the specified detail message.
      Parameters:
      message - the detail message
    • DecryptionException

      public DecryptionException(String message, Throwable cause)
      Constructs a new DecryptionException with the specified detail message and a cause.
      Parameters:
      message - the detail message
      cause - the cause