java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.jose.JOSEProcessingException
io.inverno.mod.security.jose.JOSEObjectReadException
io.inverno.mod.security.jose.jwt.JWTReadException
- All Implemented Interfaces:
- Serializable
 Thrown by the JWTService to indicate an error while reading a JWT.
 
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a JWT read exception.JWTReadException(String message) Creates a JWT read exception with the specified message.JWTReadException(String message, Throwable cause) Creates a JWT read exception with the specified message and cause.JWTReadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWT read exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.JWTReadException(Throwable cause) Creates a JWT read exception with the specified cause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
JWTReadExceptionpublic JWTReadException()Creates a JWT read exception. 
- 
JWTReadExceptionCreates a JWT read exception with the specified message. - Parameters:
- message- the message
 
- 
JWTReadExceptionCreates a JWT read exception with the specified cause. - Parameters:
- cause- the cause
 
- 
JWTReadExceptionCreates a JWT read exception with the specified message and cause. - Parameters:
- message- the message
- cause- the cause
 
- 
JWTReadExceptionpublic JWTReadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWT 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
 
 
-