Package com.auth0.jwt.exceptions
Class MissingClaimException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.auth0.jwt.exceptions.JWTVerificationException
-
- com.auth0.jwt.exceptions.InvalidClaimException
-
- com.auth0.jwt.exceptions.MissingClaimException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingClaimException extends InvalidClaimException
This exception is thrown when the claim to be verified is missing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingClaimException(java.lang.String claimName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClaimName()
This method can be used to fetch the name for which the Claim is missing during the verification.
-