org.apache.uima.aae.error.handler
Class CpcErrorHandler

java.lang.Object
  extended by org.apache.uima.aae.error.ErrorHandlerBase
      extended by 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
CpcErrorHandler(java.util.Map aDelegateMap)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpcErrorHandler

public CpcErrorHandler(java.util.Map aDelegateMap)
Method Detail

getEndpointThresholdMap

public java.util.Map getEndpointThresholdMap()
Specified by:
getEndpointThresholdMap in interface ErrorHandler
Overrides:
getEndpointThresholdMap in class ErrorHandlerBase

handleError

public boolean handleError(java.lang.Throwable t,
                           ErrorContext anErrorContext,
                           AnalysisEngineController aController)
Specified by:
handleError in interface ErrorHandler

main

public static void main(java.lang.String[] args)
Parameters:
args -


Copyright © 2011. All Rights Reserved.