Class MalformedJoseInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.jose.JoseException
com.revetsec.jose.MalformedJoseInputException
- All Implemented Interfaces:
Serializable
Thrown when a token or a JSON Web Key Set document cannot be parsed, or exceeds a limit.
Its category is ErrorCategory.MALFORMED_INPUT, and its JoseException.Reason is one of
TOKEN_TOO_LARGE, TOKEN_SYNTAX,
HEADER, CLAIMS and
KEY_SET. 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