public class ServiceInstanceBindingDoesNotExistException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
Constructor and Description |
---|
ServiceInstanceBindingDoesNotExistException(String bindingId)
Construct an exception with a default message that includes the provided service binding ID.
|
ServiceInstanceBindingDoesNotExistException(String errorCode,
String bindingId)
Construct an exception with a default message that includes the provided IDs.
|
getErrorMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceInstanceBindingDoesNotExistException(String bindingId)
bindingId
- the ID of the service bindingpublic ServiceInstanceBindingDoesNotExistException(String errorCode, String bindingId)
errorCode
- a single word in camel case that uniquely identifies the error conditionbindingId
- the ID of the service binding