Class EncryptionException

All Implemented Interfaces:
Serializable

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

    • EncryptionException

      public EncryptionException(String message)
      Creates an encode-side failure.
      Parameters:
      message - what failed; must not reveal key material
    • EncryptionException

      public EncryptionException(String message, Throwable cause)
      Creates an encode-side failure carrying the underlying cause.
      Parameters:
      message - what failed; must not reveal key material
      cause - the underlying failure