Class ServiceBrokerAsyncRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerAsyncRequiredException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a service broker requires that the platform support
asynchronous processing of operations. This requires that the
accepts_incomplete request parameter be true in requests from the
platform.
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
- Author:
- Scott Frederick, Roy Clarkson
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Error code representing that asynchronous processing is required by the service broker. -
Constructor Summary
ConstructorDescriptionConstruct an exception with the provided message. -
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
-
ASYNC_REQUIRED_ERROR
Error code representing that asynchronous processing is required by the service broker.- See Also:
-
-
Constructor Details
-
ServiceBrokerAsyncRequiredException
Construct an exception with the provided message.- Parameters:
message
- the exception message
-