Class OAuthServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.oauth.server.OAuthServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OAuthServerConfigurationException, OAuthServerSigningException, OAuthServerStoreException, OAuthServerTransportException, OAuthServerValidationException
@NotThreadSafe
public abstract sealed class OAuthServerException
extends RevetsecException
permits OAuthServerValidationException, OAuthServerStoreException, OAuthServerTransportException, OAuthServerConfigurationException, OAuthServerSigningException
The sealed issuer exception family. Fixed reasons and messages contain no request or application data.
External causes and suppressed exceptions are never retained. Transience is not permission to retransmit
a code, refresh or revocation request. An unknown commit outcome is always nontransient and needs reconciliation.
- Since:
- 1.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFixed classifications; a later release may add values. -
Method Summary
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
-
Method Details
-
getReason
Returns the fixed issuer reason; it is not an external OAuth error string.- Returns:
- fixed issuer reason
- Since:
- 1.0.0
-
toString
-