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

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

    • TokenRequestFailedException

      public TokenRequestFailedException(@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.
    • TokenRequestFailedException

      public TokenRequestFailedException(@Nullable Throwable cause)
      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

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