Class ServiceInstanceUpdateNotSupportedException

All Implemented Interfaces:
Serializable

public class ServiceInstanceUpdateNotSupportedException extends ServiceBrokerException
Thrown to indicate that a request to update a service instance can not be fulfilled by the service broker.

Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.

Author:
Roy Clarkson
See Also:
  • Constructor Details

    • ServiceInstanceUpdateNotSupportedException

      public ServiceInstanceUpdateNotSupportedException(String message)
      Construct an exception with a default message and the provided detail.
      Parameters:
      message - detail to add to the default message
    • ServiceInstanceUpdateNotSupportedException

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

      public ServiceInstanceUpdateNotSupportedException(String message, Throwable cause)
      Construct an exception with a default message and the provided detail and a cause.
      Parameters:
      message - detail to add to the default message
      cause - the cause of the exception
    • ServiceInstanceUpdateNotSupportedException

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

      public ServiceInstanceUpdateNotSupportedException(String errorCode, String message, Boolean instanceUsable, Boolean updateRepeatable)
      Construct an exception with a default message and the provided detail and a cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - detail to add to the default 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.
    • ServiceInstanceUpdateNotSupportedException

      public ServiceInstanceUpdateNotSupportedException(String errorCode, String message, Boolean instanceUsable, Boolean updateRepeatable, Throwable cause)
      Construct an exception with a default message and the provided detail and a cause.
      Parameters:
      errorCode - a single word in camel case that uniquely identifies the error condition
      message - detail to add to the default 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
    • ServiceInstanceUpdateNotSupportedException

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