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