public class ServiceInstanceExistsException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 409 CONFLICT being returned to the platform.
| Constructor and Description |
|---|
ServiceInstanceExistsException(String serviceInstanceId,
String serviceDefinitionId)
Construct an exception with a default message that includes the provided IDs.
|
ServiceInstanceExistsException(String errorCode,
String serviceInstanceId,
String serviceDefinitionId)
Construct an exception with an error code and default message that includes the provided IDs.
|
getErrorMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceInstanceExistsException(String serviceInstanceId, String serviceDefinitionId)
serviceInstanceId - the service instance IDserviceDefinitionId - the service definition IDpublic ServiceInstanceExistsException(String errorCode, String serviceInstanceId, String serviceDefinitionId)
errorCode - a single word in camel case that uniquely identifies the error conditionserviceInstanceId - the service instance IDserviceDefinitionId - the service definition ID