org.apache.uima.aae.error.handler
public class CpcErrorHandler extends ErrorHandlerBase implements ErrorHandler
endpointThresholdMap
CONTINUE, DISABLE, DROPCAS, ENABLE, PROPAGATE, RETRY, RETRY_COUNT, TERMINATE
Constructor and Description |
---|
CpcErrorHandler(java.util.Map aDelegateMap) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getEndpointThresholdMap() |
boolean |
handleError(java.lang.Throwable t,
ErrorContext anErrorContext,
AnalysisEngineController aController) |
static void |
main(java.lang.String[] args) |
continueOnError, exceedsThreshold, exceedsThreshold, exceedsThresholdWithinWindow, getAction, getDelegateKey, getEndpointName, getThreshold, getThreshold, incrementStatistic, isHandlerForError, isValidActionForController, retryLastCommand, shouldRetry
public java.util.Map getEndpointThresholdMap()
getEndpointThresholdMap
in interface ErrorHandler
getEndpointThresholdMap
in class ErrorHandlerBase
public boolean handleError(java.lang.Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController)
handleError
in interface ErrorHandler
public static void main(java.lang.String[] args)
args
- Copyright © 2014. All Rights Reserved.