Class ServiceInstanceBindingExistsException

All Implemented Interfaces:
Serializable

public class ServiceInstanceBindingExistsException extends ServiceBrokerException
Thrown to indicate that a service binding create request was received for a binding that already exists with parameters that are different from the existing binding.

Throwing this exception will result in an HTTP status code 409 CONFLICT being returned to the platform.

Author:
S Greenberg, Scott Frederick, Roy Clarkson
See Also:
  • Constructor Details

    • ServiceInstanceBindingExistsException

      public ServiceInstanceBindingExistsException(String serviceInstanceId, String bindingId)
      Construct an exception with a default message that includes the provided IDs.
      Parameters:
      serviceInstanceId - the service instance ID
      bindingId - the ID of the service binding
    • ServiceInstanceBindingExistsException

      public ServiceInstanceBindingExistsException(String errorCode, String serviceInstanceId, String bindingId)
      Construct an exception with a default message that includes the provided IDs.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      serviceInstanceId - the service instance ID
      bindingId - the ID of the service binding