Class CpcErrorHandler
- java.lang.Object
-
- org.apache.uima.aae.error.ErrorHandlerBase
-
- org.apache.uima.aae.error.handler.CpcErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class CpcErrorHandler extends ErrorHandlerBase implements 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 Constructor Description CpcErrorHandler(java.util.Map aDelegateMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map
getEndpointThresholdMap()
boolean
handleError(java.lang.Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController)
static void
main(java.lang.String[] args)
-
Methods inherited from class org.apache.uima.aae.error.ErrorHandlerBase
continueOnError, exceedsThreshold, exceedsThreshold, exceedsThresholdWithinWindow, getAction, getDelegateKey, getEndpointName, getThreshold, getThreshold, incrementStatistic, isHandlerForError, isValidActionForController, retryLastCommand, shouldRetry
-
-
-
-
Method Detail
-
getEndpointThresholdMap
public java.util.Map getEndpointThresholdMap()
- Specified by:
getEndpointThresholdMap
in interfaceErrorHandler
- Overrides:
getEndpointThresholdMap
in classErrorHandlerBase
-
handleError
public boolean handleError(java.lang.Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController)
- Specified by:
handleError
in interfaceErrorHandler
-
main
public static void main(java.lang.String[] args)
- Parameters:
args
-
-
-