Class ServiceBrokerCreateOperationInProgressException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerOperationInProgressException
org.springframework.cloud.servicebroker.exception.ServiceBrokerCreateOperationInProgressException
- All Implemented Interfaces:
Serializable
public class ServiceBrokerCreateOperationInProgressException
extends ServiceBrokerOperationInProgressException
Thrown to indicate that a request to create a service instance or binding was received
while asynchronous creation of the identical service instance or binding is in
progress.
Throwing this exception will result in an HTTP status code 202 ACCEPTED being returned to the platform.
- Author:
- Roy Clarkson
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an exception with a default message.Construct an exception with a default message that includes the provided operation description. -
Method Summary
Methods inherited from class org.springframework.cloud.servicebroker.exception.ServiceBrokerOperationInProgressException
getOperationInProgressMessage
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
-
Constructor Details
-
ServiceBrokerCreateOperationInProgressException
public ServiceBrokerCreateOperationInProgressException()Construct an exception with a default message. -
ServiceBrokerCreateOperationInProgressException
Construct an exception with a default message that includes the provided operation description.- Parameters:
operation
- an identifier representing the operation in progress
-