Class UnsupportedJoseFeatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.jose.JoseException
com.revetsec.jose.UnsupportedJoseFeatureException
- All Implemented Interfaces:
Serializable
Thrown when a token uses a JOSE feature that Revetsec does not support: encryption, the JSON serialization, a
critical header parameter, an unencoded or compressed payload, or a nested token.
Its category is ErrorCategory.UNSUPPORTED, and its JoseException.Reason is one of
ENCRYPTED_TOKEN,
JSON_SERIALIZATION,
CRITICAL_HEADER,
UNENCODED_PAYLOAD,
COMPRESSED_PAYLOAD and
NESTED_TOKEN. It has no cause and is never transient.
- Since:
- 1.0.0
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class JoseException
JoseException.Reason -
Method Summary
Methods inherited from class JoseException
getReasonModifier and TypeMethodDescriptionfinal @NonNull JoseException.ReasonReturns why the input was rejected.Methods inherited from class RevetsecException
getCategory, isTemporaryConditionModifier and TypeMethodDescriptionfinal @NonNull ErrorCategoryReturns the category of this failure.Returns whether this failure is classified as a temporary condition.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString