Class TestandtargetUnsupportedApiOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.day.cq.analytics.testandtarget.TestandtargetFormattedException
-
- com.day.cq.analytics.testandtarget.TestandtargetException
-
- com.day.cq.analytics.testandtarget.TestandtargetUnsupportedApiOperationException
-
- All Implemented Interfaces:
java.io.Serializable
public class TestandtargetUnsupportedApiOperationException extends TestandtargetException
TheTestandtargetUnsupportedApiOperationException
signals that an operation could not be performed since the configured API backend does not support itThis 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
-
-
Field Summary
-
Fields inherited from class com.day.cq.analytics.testandtarget.TestandtargetFormattedException
LINE_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description TestandtargetUnsupportedApiOperationException(java.lang.String operationName, java.lang.String apiKind)
Constructs a new exception instance
-
Method Summary
-
Methods inherited from class com.day.cq.analytics.testandtarget.TestandtargetFormattedException
getFormattedMessage
-
-
-
-
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'
-
-