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.
|
getErrorMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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