public class ServiceBrokerBindingRequiresAppException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APP_REQUIRED_ERROR |
| Constructor and Description |
|---|
ServiceBrokerBindingRequiresAppException(java.lang.String message)
Construct an exception with the provided message.
|
ServiceBrokerBindingRequiresAppException(java.lang.String message,
java.lang.Throwable cause)
Construct an exception with the provided message and cause.
|
getErrorMessagepublic static final java.lang.String APP_REQUIRED_ERROR
public ServiceBrokerBindingRequiresAppException(java.lang.String message)
message - the exception messagepublic ServiceBrokerBindingRequiresAppException(java.lang.String message,
java.lang.Throwable cause)
message - the exception messagecause - the exception cause