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

public class TokenRequestDeniedException extends RuntimeException
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 Details

    • TokenRequestDeniedException

      public TokenRequestDeniedException(@Nullable String message)
      Creates a new exception based on the given message.
      Parameters:
      message - The message describing the cause of the exception to be created.
    • TokenRequestDeniedException

      public TokenRequestDeniedException(@Nullable String message, @Nonnull Throwable cause)
      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.