Class JWSReadException

All Implemented Interfaces:
Serializable

public class JWSReadException extends JOSEObjectReadException

Thrown by a JWSReader to indicate an error while reading a JWS.

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

    • JWSReadException

      public JWSReadException()

      Creates a JWS read exception.

    • JWSReadException

      public JWSReadException(String message)

      Creates a JWS read exception with the specified message.

      Parameters:
      message - the message
    • JWSReadException

      public JWSReadException(Throwable cause)

      Creates a JWS read exception with the specified cause.

      Parameters:
      cause - the cause
    • JWSReadException

      public JWSReadException(String message, Throwable cause)

      Creates a JWS read exception with the specified message and cause.

      Parameters:
      message - the message
      cause - the cause
    • JWSReadException

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

      Creates a JWS 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