Class JOSEObjectReadException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JWEReadException, JWSReadException, JWTReadException

public class JOSEObjectReadException extends JOSEProcessingException

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

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

    • JOSEObjectReadException

      public JOSEObjectReadException()

      Creates a JOSE object read exception.

    • JOSEObjectReadException

      public JOSEObjectReadException(String message)

      Creates a JOSE object read exception with the specified message.

      Parameters:
      message - the message
    • JOSEObjectReadException

      public JOSEObjectReadException(Throwable cause)

      Creates a JOSE object read exception with the specified cause.

      Parameters:
      cause - the cause
    • JOSEObjectReadException

      public JOSEObjectReadException(String message, Throwable cause)

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

      Parameters:
      message - the message
      cause - the cause
    • JOSEObjectReadException

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

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