public class ServiceBrokerApiVersionMissingException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 400 BAD REQUEST being returned to the platform.
| Constructor and Description |
|---|
ServiceBrokerApiVersionMissingException(String expectedVersion)
Construct an exception with the expected version.
|
ServiceBrokerApiVersionMissingException(String errorCode,
String expectedVersion)
Construct an exception with an error code and the expected version.
|
getErrorMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceBrokerApiVersionMissingException(String expectedVersion)
expectedVersion - the version expected by the service brokerpublic ServiceBrokerApiVersionMissingException(String errorCode, String expectedVersion)
errorCode - a single word in camel case that uniquely identifies the error conditionexpectedVersion - the version expected by the service broker