Class OAuth2ServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.sap.cloud.security.xsuaa.client.OAuth2ServiceException
All Implemented Interfaces:
Serializable

public class OAuth2ServiceException extends IOException
Exception thrown to signal issues during communication with OAuth2 server.
See Also:
  • Constructor Details

    • OAuth2ServiceException

      public OAuth2ServiceException(String message)
    • OAuth2ServiceException

      public OAuth2ServiceException(String message, Integer httpStatusCode)
      Creates an exception.
      Parameters:
      message - the error message
      httpStatusCode - the status code of the HTTP service request
  • Method Details