Class JoseException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JwtValidationException, MalformedJoseInputException, UnsupportedJoseFeatureException

A rejected JOSE input: a token that JwtValidator refused, or a JSON Web Key Set document that Jwks.fromJsonResult(String) rejected.

Every instance has a JoseException.Reason, which also fixes its class and ErrorCategory:

The message is the reason's fixed sentence and never contains the token, a claim, a key or a key ID. A JOSE exception has no cause and is never transient. Applications catch these exceptions; only Revetsec creates them.
Since:
1.0.0
Author:
Mark Allen
See Also: