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

public class TokenValidationException extends RuntimeException
Exception thrown when JWT token validation fails. This exception indicates that the token is invalid, expired, or cannot be verified.
See Also:
  • Constructor Details

    • TokenValidationException

      public TokenValidationException(String message)
      Constructs a new TokenValidationException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for token validation failure