com.sap.cloud.security.oauth2

## Class OAuthSystemException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.sap.cloud.security.oauth2.OAuthSystemException

- All Implemented Interfaces:
    Serializable

      public class OAuthSystemException
      extends Exception

  Exception class which is used in case of communication errors between the OAuth Recourse Server and the OAuth Authorization Server when authorization is checked.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OAuthSystemException(String message)` Constructs a new OAuthSystem Exception with the specified detail message.
    `OAuthSystemException(String message, Throwable cause)` Constructs a new OAuthSystem Exception with the specified detail message and cause.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### OAuthSystemException

          public OAuthSystemException(String message)

      Constructs a new OAuthSystem Exception with the specified detail message.
      Parameters:
        `message` - - the detail message

    - #### OAuthSystemException

          public OAuthSystemException(String message,
                              Throwable cause)

      Constructs a new OAuthSystem Exception with the specified detail message and cause.
      Parameters:
        `message` - - the detail message
        `cause` - - the root cause for creating OAuthSystem Exception

Copyright © 2016 SAP. All Rights Reserved.