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.jwe.JWEReadException
- All Implemented Interfaces:
Serializable
Thrown by a JWEReader to indicate an error while reading a JWE.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a JWE read exception.JWEReadException(String message) Creates a JWE read exception with the specified message.JWEReadException(String message, Throwable cause) Creates a JWE read exception with the specified message and cause.JWEReadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWE read exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.JWEReadException(Throwable cause) Creates a JWE read exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JWEReadException
public JWEReadException()Creates a JWE read exception.
-
JWEReadException
Creates a JWE read exception with the specified message.
- Parameters:
message- the message
-
JWEReadException
Creates a JWE read exception with the specified cause.
- Parameters:
cause- the cause
-
JWEReadException
Creates a JWE read exception with the specified message and cause.
- Parameters:
message- the messagecause- the cause
-
JWEReadException
public JWEReadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWE read exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message- the messagecause- the causeenableSuppression- true to enable suppression, false otherwisewritableStackTrace- true to make the stack trace writable, false otherwise
-