com.sap.cloud.security.oauth2
Class OAuthSystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 © 2015 SAP. All Rights Reserved.