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