Class JOSEObjectBuildException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JWEBuildException, JWSBuildException, JWTBuildException

public class JOSEObjectBuildException extends JOSEProcessingException

Thrown to indicate that an error has occurred while building a JOSE object.

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

    • JOSEObjectBuildException

      public JOSEObjectBuildException()

      Creates a JOSE object build exception.

    • JOSEObjectBuildException

      public JOSEObjectBuildException(String message)

      Creates a JOSE object build exception with the specified message.

      Parameters:
      message - the message
    • JOSEObjectBuildException

      public JOSEObjectBuildException(Throwable cause)

      Creates a JOSE object build exception with the specified cause.

      Parameters:
      cause - the cause
    • JOSEObjectBuildException

      public JOSEObjectBuildException(String message, Throwable cause)

      Creates a JOSE object build exception with the specified message and cause.

      Parameters:
      message - the message
      cause - the cause
    • JOSEObjectBuildException

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

      Creates a JOSE object build 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