Class ServiceBrokerInvalidParametersException

All Implemented Interfaces:
Serializable

public class ServiceBrokerInvalidParametersException extends ServiceBrokerException
Thrown to indicate that parameters passed in a create or update request are not understood by the service broker.

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

Author:
Scott Frederick, Roy Clarkson
See Also:
  • Constructor Details

    • ServiceBrokerInvalidParametersException

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

      public ServiceBrokerInvalidParametersException(String errorCode, String message)
      Construct an exception with the provided error code and message.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
    • ServiceBrokerInvalidParametersException

      public ServiceBrokerInvalidParametersException(String message, Throwable cause)
      Construct an exception with the provided message and cause.
      Parameters:
      message - the exception message
      cause - the cause of the exception
    • ServiceBrokerInvalidParametersException

      public ServiceBrokerInvalidParametersException(String errorCode, String message, Throwable cause)
      Construct an exception with the provided error code, message and cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
      cause - the cause of the exception
    • ServiceBrokerInvalidParametersException

      public ServiceBrokerInvalidParametersException(String errorCode, String message, Boolean instanceUsable, Boolean updateRepeatable)
      Construct an exception with the provided error code, message and cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
      instanceUsable - if an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If true, the Service Instance can still be used, false otherwise. This field MUST NOT be present for errors of other operations.
      updateRepeatable - if an update operation failed, this flag indicates whether this update can be repeated or not. If true, the same update operation MAY be repeated and MAY succeed; if false, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations.
    • ServiceBrokerInvalidParametersException

      public ServiceBrokerInvalidParametersException(String errorCode, String message, Boolean instanceUsable, Boolean updateRepeatable, Throwable cause)
      Construct an exception with the provided error code, message and cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - the exception message
      instanceUsable - if an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If true, the Service Instance can still be used, false otherwise. This field MUST NOT be present for errors of other operations.
      updateRepeatable - if an update operation failed, this flag indicates whether this update can be repeated or not. If true, the same update operation MAY be repeated and MAY succeed; if false, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations.
      cause - the cause of the exception
    • ServiceBrokerInvalidParametersException

      public ServiceBrokerInvalidParametersException(Throwable cause)
      Construct an exception with a default message and the provided cause.
      Parameters:
      cause - the cause of the exception