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
endpointThresholdMap
Fields 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 TypeMethodDescriptionboolean
handleError
(Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController) static void
Methods 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:
getEndpointThresholdMap
in interfaceErrorHandler
- Overrides:
getEndpointThresholdMap
in classErrorHandlerBase
-
handleError
public boolean handleError(Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController) - Specified by:
handleError
in interfaceErrorHandler
-
main
- Parameters:
args
-
-