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