Class ServiceBrokerMaintenanceInfoConflictException

All Implemented Interfaces:
Serializable

public class ServiceBrokerMaintenanceInfoConflictException extends ServiceBrokerException
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 Details

    • MAINTENANCE_INFO_CONFLICT_ERROR

      public static final String 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

      public static final String 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

      public ServiceBrokerMaintenanceInfoConflictException(String message)
      Construct an exception with the provided message.
      Parameters:
      message - the exception message