Class EncryptionException

All Implemented Interfaces:
Serializable

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

    • EncryptionException

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

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