Class TestandtargetUnsupportedApiOperationException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestandtargetUnsupportedApiOperationException

        public TestandtargetUnsupportedApiOperationException​(java.lang.String operationName,
                                                             java.lang.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'