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:
Serializable
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:
-
Field Summary
Fields inherited from class com.day.cq.analytics.testandtarget.TestandtargetFormattedException
LINE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionTestandtargetUnsupportedApiOperationException(String operationName, String apiKind) Constructs a new exception instance -
Method Summary
Methods inherited from class com.day.cq.analytics.testandtarget.TestandtargetFormattedException
getFormattedMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TestandtargetUnsupportedApiOperationException
Constructs a new exception instance- Parameters:
operationName- the name of the operation, e.g. 'listFolders'apiKind- the kind of the API, e.g. 'REST'
-