Class ServiceBrokerConcurrencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerConcurrencyException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the service broker received concurrent requests to modify a
resource.
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
- Author:
- Scott Frederick
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Error code indicating the service broker received concurrent requests to modify a resource. -
Constructor Summary
ConstructorDescriptionServiceBrokerConcurrencyException
(String message) Construct an exception with the provided message.ServiceBrokerConcurrencyException
(String message, Throwable cause) Construct an exception with the provided message and cause. -
Method Summary
Methods inherited from class org.springframework.cloud.servicebroker.exception.ServiceBrokerException
getErrorMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CONCURRENCY_ERROR
Error code indicating the service broker received concurrent requests to modify a resource.- See Also:
-
-
Constructor Details
-
ServiceBrokerConcurrencyException
Construct an exception with the provided message.- Parameters:
message
- the exception message
-
ServiceBrokerConcurrencyException
Construct an exception with the provided message and cause.- Parameters:
message
- the exception messagecause
- the exception cause
-