Class TokenGenerationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.fiap.tech_challenge.parte1.ms_users.exceptions.TokenGenerationException
- All Implemented Interfaces:
Serializable
Exception thrown when JWT token generation fails.
This exception wraps the underlying cause of the failure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTokenGenerationException
(String message, Throwable cause) Constructs a new TokenGenerationException with the specified detail message and 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
-
TokenGenerationException
Constructs a new TokenGenerationException with the specified detail message and cause.- Parameters:
message
- the detail message explaining the token generation failurecause
- the underlying cause of the exception
-