Class ServiceBrokerMaintenanceInfoConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerMaintenanceInfoConflictException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the maintenance_info.version provided in the request
does not match the
maintenance_info.version described for the service plan in the service broker's
catalog
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
- Author:
- Roy Clarkson
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Error code representing that the maintenance_info.version field provided in the request does not match the maintenance_info.version field provided in the service broker's catalog.static final String
Default error message for when the maintenance_info.version does not match the catalog. -
Constructor Summary
ConstructorDescriptionConstruct an exception with a default message.Construct 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
-
MAINTENANCE_INFO_CONFLICT_ERROR
Error code representing that the maintenance_info.version field provided in the request does not match the maintenance_info.version field provided in the service broker's catalog.- See Also:
-
MAINTENANCE_INFO_CONFLICT_MESSAGE
Default error message for when the maintenance_info.version does not match the catalog.- See Also:
-
-
Constructor Details
-
ServiceBrokerMaintenanceInfoConflictException
public ServiceBrokerMaintenanceInfoConflictException()Construct an exception with a default message. -
ServiceBrokerMaintenanceInfoConflictException
Construct an exception with the provided message.- Parameters:
message
- the exception message
-