public class TestandtargetUnsupportedApiOperationException extends TestandtargetException
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.
LINE_SEPARATOR| Constructor and Description |
|---|
TestandtargetUnsupportedApiOperationException(java.lang.String operationName,
java.lang.String apiKind)
Constructs a new exception instance
|
getFormattedMessagepublic TestandtargetUnsupportedApiOperationException(java.lang.String operationName,
java.lang.String apiKind)
operationName - the name of the operation, e.g. 'listFolders'apiKind - the kind of the API, e.g. 'REST'Copyright © 2010 - 2023 Adobe. All Rights Reserved