Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwa
Class JWASignatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.jose.JOSEProcessingException
io.inverno.mod.security.jose.jwa.JWAProcessingException
io.inverno.mod.security.jose.jwa.JWASignatureException
- All Implemented Interfaces:
Serializable
Thrown by a JWASigner
to indicate an error while signing data or verifying signature.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a JWA signature exception.JWASignatureException
(String message) Creates a JWA signature exception with the specified message.JWASignatureException
(String message, Throwable cause) Creates a JWA signature exception with the specified message and cause.JWASignatureException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWA signature exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.JWASignatureException
(Throwable cause) Creates a JWA signature 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
-
JWASignatureException
public JWASignatureException()Creates a JWA signature exception.
-
JWASignatureException
Creates a JWA signature exception with the specified message.
- Parameters:
message
- the message
-
JWASignatureException
Creates a JWA signature exception with the specified cause.
- Parameters:
cause
- the cause
-
JWASignatureException
Creates a JWA signature exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
JWASignatureException
public JWASignatureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a JWA signature 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
-