Class JWASignatureException

All Implemented Interfaces:
Serializable

public class JWASignatureException extends JWAProcessingException

Thrown by a JWASigner to indicate an error while signing data or verifying signature.

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

    • JWASignatureException

      public JWASignatureException()

      Creates a JWA signature exception.

    • JWASignatureException

      public JWASignatureException(String message)

      Creates a JWA signature exception with the specified message.

      Parameters:
      message - the message
    • JWASignatureException

      public JWASignatureException(Throwable cause)

      Creates a JWA signature exception with the specified cause.

      Parameters:
      cause - the cause
    • JWASignatureException

      public JWASignatureException(String message, Throwable cause)

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

      Parameters:
      message - the message
      cause - the cause
    • JWASignatureException

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

      Creates a JWA signature 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