Class ServiceBrokerOperationInProgressException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerOperationInProgressException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServiceBrokerCreateOperationInProgressException
,ServiceBrokerDeleteOperationInProgressException
,ServiceBrokerUpdateOperationInProgressException
Thrown to indicate that a request for a service instance or binding was received while
asynchronous creation of the service instance or binding is in progress.
Throwing this exception will result in an HTTP status code 404 NOT FOUND being returned to the platform.
- Author:
- Scott Frederick
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an exception with a default message.ServiceBrokerOperationInProgressException
(String operation) Construct an exception with a default message that includes the provided operation description.ServiceBrokerOperationInProgressException
(String errorCode, String operation) Construct an exception with an error code and default 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
-
Constructor Details
-
ServiceBrokerOperationInProgressException
public ServiceBrokerOperationInProgressException()Construct an exception with a default message. -
ServiceBrokerOperationInProgressException
Construct an exception with a default message that includes the provided operation description.- Parameters:
operation
- an identifier representing the operation in progress
-
ServiceBrokerOperationInProgressException
Construct an exception with an error code and default message.- Parameters:
errorCode
- a single word in camel case that uniquely identifies the error conditionoperation
- an identifier representing the operation in progress
-
-
Method Details
-
getOperationInProgressMessage
-