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