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

public class TokenGenerationException extends RuntimeException
Exception thrown when JWT token generation fails. This exception wraps the underlying cause of the failure.
See Also:
  • Constructor Details

    • TokenGenerationException

      public TokenGenerationException(String message, Throwable cause)
      Constructs a new TokenGenerationException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the token generation failure
      cause - the underlying cause of the exception