Class ServiceBrokerAsyncRequiredException

All Implemented Interfaces:
Serializable

public class ServiceBrokerAsyncRequiredException extends ServiceBrokerException
Thrown to indicate that a service broker requires that the platform support asynchronous processing of operations. This requires that the accepts_incomplete request parameter be true in requests from the platform.

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

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

    • ASYNC_REQUIRED_ERROR

      public static final String ASYNC_REQUIRED_ERROR
      Error code representing that asynchronous processing is required by the service broker.
      See Also:
  • Constructor Details

    • ServiceBrokerAsyncRequiredException

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