Class JWACipherException

All Implemented Interfaces:
Serializable

public class JWACipherException extends JWAProcessingException

Thrown by a JWACipher to indicate an error while encrypting or decrypting data.

Since:
1.5
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • JWACipherException

      public JWACipherException()

      Creates a JWA cipher exception.

    • JWACipherException

      public JWACipherException(String message)

      Creates a JWA cipher exception with the specified message.

      Parameters:
      message - the message
    • JWACipherException

      public JWACipherException(Throwable cause)

      Creates a JWA cipher exception with the specified cause.

      Parameters:
      cause - the cause
    • JWACipherException

      public JWACipherException(String message, Throwable cause)

      Creates a JWA cipher exception with the specified message and cause.

      Parameters:
      message - the message
      cause - the cause
    • JWACipherException

      public JWACipherException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)

      Creates a JWA cipher exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.

      Parameters:
      message - the message
      cause - the cause
      enableSuppression - true to enable suppression, false otherwise
      writableStackTrace - true to make the stack trace writable, false otherwise