public class ServiceInstanceBindingExistsException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 409 CONFLICT being returned to the platform.
| Constructor and Description |
|---|
ServiceInstanceBindingExistsException(java.lang.String serviceInstanceId,
java.lang.String bindingId)
Construct an exception with a default message that includes the provided IDs.
|
ServiceInstanceBindingExistsException(java.lang.String errorCode,
java.lang.String serviceInstanceId,
java.lang.String bindingId)
Construct an exception with a default message that includes the provided IDs.
|
getErrorMessagepublic ServiceInstanceBindingExistsException(java.lang.String serviceInstanceId,
java.lang.String bindingId)
serviceInstanceId - the ID of the service instancebindingId - the ID of the service bindingpublic ServiceInstanceBindingExistsException(java.lang.String errorCode,
java.lang.String serviceInstanceId,
java.lang.String bindingId)
errorCode - a single word in camel case that uniquely identifies the error conditionserviceInstanceId - the ID of the service instancebindingId - the ID of the service binding