Class TestandtargetUnsupportedApiOperationException

All Implemented Interfaces:
Serializable

public class TestandtargetUnsupportedApiOperationException extends TestandtargetException
The TestandtargetUnsupportedApiOperationException signals that an operation could not be performed since the configured API backend does not support it

This exception does not signal an error when communicating with the target API, but rather a refusal of the code interfacing with Target to execute an operation which is not exposed by a specific API backend. An example is the TestandtargetService.listFolders(com.day.cq.wcm.webservicesupport.Configuration) with the REST API.

See Also:
  • Constructor Details

    • TestandtargetUnsupportedApiOperationException

      public TestandtargetUnsupportedApiOperationException(String operationName, String apiKind)
      Constructs a new exception instance
      Parameters:
      operationName - the name of the operation, e.g. 'listFolders'
      apiKind - the kind of the API, e.g. 'REST'