Class FailedToParseClaimsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.auth.exception.FailedToParseClaimsException
All Implemented Interfaces:
Serializable

public class FailedToParseClaimsException extends RuntimeException
Thrown when JWT token claims cannot be parsed due to invalid format or signature. This typically indicates a malformed or tampered token.
See Also:
  • Constructor Details

    • FailedToParseClaimsException

      public FailedToParseClaimsException(Exception cause)
      Constructs a new FailedToParseClaims exception with a default message.
      Parameters:
      cause - the underlying exception that caused the parsing failure