Class ServiceBrokerUnavailableException

All Implemented Interfaces:
Serializable

public class ServiceBrokerUnavailableException extends ServiceBrokerException
Thrown to indicate that a service broker is able to accept requests from the platform but is temporarily unable to process those requests.

Throwing this exception will result in an HTTP status code 503 SERVICE UNAVAILABLE being returned to the platform.

Author:
Scott Frederick
See Also:
  • Constructor Details

    • ServiceBrokerUnavailableException

      public ServiceBrokerUnavailableException(String message)
      Construct an exception with the provided message.
      Parameters:
      message - the exception message
    • ServiceBrokerUnavailableException

      public ServiceBrokerUnavailableException(String errorCode, String message)
      Construct an exception with the provided error code and message.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
    • ServiceBrokerUnavailableException

      public ServiceBrokerUnavailableException(String message, Throwable cause)
      Construct an exception with the provided message and cause.
      Parameters:
      message - the exception message
      cause - the exception cause
    • ServiceBrokerUnavailableException

      public ServiceBrokerUnavailableException(String errorCode, String message, Throwable cause)
      Construct an exception with the provided error code, message and cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
      cause - the exception cause
    • ServiceBrokerUnavailableException

      public ServiceBrokerUnavailableException(Throwable cause)
      Construct an exception with the provided cause.
      Parameters:
      cause - the exception cause