Class TokenValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.fiap.tech_challenge.parte1.ms_users.exceptions.TokenValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when JWT token validation fails.
This exception indicates that the token is invalid, expired, or cannot be verified.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTokenValidationException
(String message) Constructs a new TokenValidationException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenValidationException
Constructs a new TokenValidationException with the specified detail message.- Parameters:
message
- the detail message explaining the reason for token validation failure
-