Class CpcErrorHandler
java.lang.Object
org.apache.uima.aae.error.ErrorHandlerBase
org.apache.uima.aae.error.handler.CpcErrorHandler
- All Implemented Interfaces:
ErrorHandler
-
Field Summary
Fields inherited from class org.apache.uima.aae.error.ErrorHandlerBase
endpointThresholdMapFields inherited from interface org.apache.uima.aae.error.ErrorHandler
CONTINUE, DISABLE, DROPCAS, ENABLE, PROPAGATE, RETRY, RETRY_COUNT, TERMINATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleError(Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController) static voidMethods inherited from class org.apache.uima.aae.error.ErrorHandlerBase
continueOnError, exceedsThreshold, exceedsThreshold, exceedsThresholdWithinWindow, getAction, getDelegateKey, getEndpointName, getThreshold, getThreshold, incrementStatistic, isHandlerForError, isValidActionForController, retryLastCommand, shouldRetry
-
Constructor Details
-
CpcErrorHandler
-
-
Method Details
-
getEndpointThresholdMap
- Specified by:
getEndpointThresholdMapin interfaceErrorHandler- Overrides:
getEndpointThresholdMapin classErrorHandlerBase
-
handleError
public boolean handleError(Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController) - Specified by:
handleErrorin interfaceErrorHandler
-
main
- Parameters:
args-
-