Class JOSEProcessingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.jose.JOSEProcessingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidJWTException, JOSEObjectBuildException, JOSEObjectReadException, JWAProcessingException, JWEZipException, JWKProcessingException

public class JOSEProcessingException extends RuntimeException

Thrown to indicate that an error has occurred while processing a JOSE object. This class is the general class of exceptions produced by failed JOSE operations.

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

    • JOSEProcessingException

      public JOSEProcessingException()

      Creates a JOSE processing exception.

    • JOSEProcessingException

      public JOSEProcessingException(String message)

      Creates a JOSE processing exception with the specified message.

      Parameters:
      message - the message
    • JOSEProcessingException

      public JOSEProcessingException(Throwable cause)

      Creates a JOSE processing exception with the specified cause.

      Parameters:
      cause - the cause
    • JOSEProcessingException

      public JOSEProcessingException(String message, Throwable cause)

      Creates a JOSE processing exception with the specified message and cause.

      Parameters:
      message - the message
      cause - the cause
    • JOSEProcessingException

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

      Creates a JOSE processing 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