public class ServiceBrokerConcurrencyException 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 |
CONCURRENCY_ERROR |
Constructor and Description |
---|
ServiceBrokerConcurrencyException(java.lang.String message)
Construct an exception with the provided message.
|
ServiceBrokerConcurrencyException(java.lang.String message,
java.lang.Throwable cause)
Construct an exception with the provided message and cause.
|
getErrorMessage
public static final java.lang.String CONCURRENCY_ERROR
public ServiceBrokerConcurrencyException(java.lang.String message)
message
- the exception messagepublic ServiceBrokerConcurrencyException(java.lang.String message, java.lang.Throwable cause)
message
- the exception messagecause
- the exception cause