Class TokenRequestFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.cloudplatform.security.exception.TokenRequestFailedException
- All Implemented Interfaces:
Serializable
Exception that is thrown in case the request to receive an authentication token fails for any reason that is not
related with authentication issues with the XSUAA service. In those cases an
TokenRequestDeniedException
is
thrown.- See Also:
-
Constructor Summary
ConstructorDescriptionTokenRequestFailedException
(String message) Creates a new exception based on the given message.TokenRequestFailedException
(String message, Throwable cause) Creates a new exception based on the given messagen and causing exception.Creates a new exception based on the given causing exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenRequestFailedException
Creates a new exception based on the given message.- Parameters:
message
- The message describing the cause of the exception to be created.
-
TokenRequestFailedException
Creates a new exception based on the given causing exception.- Parameters:
cause
- The exception that is the cause for the exception to be created.
-
TokenRequestFailedException
Creates a new exception based on the given messagen and causing exception.- Parameters:
message
- The message describing the cause of the exception to be created.cause
- The exception that is the cause for the exception to be created.
-