Class ServiceDefinitionPlanDoesNotExistException

All Implemented Interfaces:
Serializable

public class ServiceDefinitionPlanDoesNotExistException extends ServiceBrokerException
Thrown to indicate that a request includes a plan ID that does not exist in the service broker catalog.

Throwing this exception will result in an HTTP status code 400 BAD REQUEST being returned to the platform.

Author:
Vladislav Pischulin
See Also:
  • Constructor Details

    • ServiceDefinitionPlanDoesNotExistException

      public ServiceDefinitionPlanDoesNotExistException(String planId)
      Construct an exception with a default message that includes the provided plan ID.
      Parameters:
      planId - the plan ID
    • ServiceDefinitionPlanDoesNotExistException

      public ServiceDefinitionPlanDoesNotExistException(String errorCode, String planId)
      Construct an exception with an error code and default message that includes the provided plan ID.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      planId - the plan ID