public class SecurityException extends JwtException
JwtException attributed to a problem with security-related elements, such as
cryptographic keys, algorithms, or the underlying Java JCA API.| Constructor and Description |
|---|
SecurityException(String message)
Creates a new instance with the specified explanation message.
|
SecurityException(String message,
Throwable cause)
Creates a new instance with the specified explanation message and underlying cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SecurityException(String message)
message - the message explaining why the exception is thrown.public SecurityException(String message, Throwable cause)
message - the message explaining why the exception is thrown.cause - the underlying cause that resulted in this exception being thrown.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.