public class ServiceDefinitionDoesNotExistException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
| Constructor and Description |
|---|
ServiceDefinitionDoesNotExistException(java.lang.String serviceDefinitionId)
Construct an exception with a default message that includes the provided service definition ID.
|
ServiceDefinitionDoesNotExistException(java.lang.String errorCode,
java.lang.String serviceDefinitionId)
Construct an exception with an error code and default message that includes the
provided service definition ID.
|
getErrorMessagepublic ServiceDefinitionDoesNotExistException(java.lang.String serviceDefinitionId)
serviceDefinitionId - the ID of the service definitionpublic ServiceDefinitionDoesNotExistException(java.lang.String errorCode,
java.lang.String serviceDefinitionId)
errorCode - a single word in camel case that uniquely identifies the error conditionserviceDefinitionId - the ID of the service definition