Class OAuthServerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OAuthServerConfigurationException, OAuthServerSigningException, OAuthServerStoreException, OAuthServerTransportException, OAuthServerValidationException

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:
  • Method Details

    • getReason

      @CheckReturnValue public final @NonNull OAuthServerException.Reason getReason()
      Returns the fixed issuer reason; it is not an external OAuth error string.
      Returns:
      fixed issuer reason
      Since:
      1.0.0
    • toString

      public final @NonNull String toString()
      Returns a fixed description without causes, credentials or application data.
      Overrides:
      toString in class Throwable
      Returns:
      fixed description
      Since:
      1.0.0