Class ServiceBrokerUpdateOperationInProgressException
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.ServiceBrokerUpdateOperationInProgressException
- All Implemented Interfaces:
Serializable
public class ServiceBrokerUpdateOperationInProgressException
extends ServiceBrokerOperationInProgressException
Thrown to indicate that a request to update a service instance was received while
asynchronous updating of the identical service instance 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
-
ServiceBrokerUpdateOperationInProgressException
public ServiceBrokerUpdateOperationInProgressException()Construct an exception with a default message. -
ServiceBrokerUpdateOperationInProgressException
Construct an exception with a default message that includes the provided operation description.- Parameters:
operation
- an identifier representing the operation in progress
-