Class ServiceBrokerBindingRequiresAppException

All Implemented Interfaces:
Serializable

public class ServiceBrokerBindingRequiresAppException extends ServiceBrokerException
Thrown to indicate that the service broker received a binding request without an application resource, but only supports binding to applications.

Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.

Author:
Scott Frederick
See Also:
  • Field Details

    • APP_REQUIRED_ERROR

      public static final String APP_REQUIRED_ERROR
      Error code representing that the service broker received a binding request without an application resource.
      See Also:
  • Constructor Details

    • ServiceBrokerBindingRequiresAppException

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

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