public class AnalysisEngineProcessException extends ResourceProcessException
AnalysisEngineProcessException may be thrown by an Analysis Engine's process
 method, indicating that a failure occurred during processing.| Modifier and Type | Field and Description | 
|---|---|
| static String | ANNOTATOR_EXCEPTIONMessage key for a standard UIMA exception message: "Annotator processing failed." | 
| static String | FLOW_CANNOT_CONTINUE_AFTER_REMOVEMessage key for a standard UIMA exception message: "The Analysis Engine(s) {0} have
 been removed from the flow, and the FlowController has determined the Aggregate 
 Analysis Engine's processing can no longer continue." | 
| static String | ILLEGAL_DROP_CASMessage key for a standard UIMA exception message: "The FlowController attempted to drop a CAS
 that was passed as input to the Aggregate AnalysisEngine containing that FlowController. | 
| static String | INCORRECT_CAS_INTERFACEMessage key for a standard UIMA exception message: "Expected CAS interface {0}, but received
 interface {1}." | 
| static String | REMOVE_AE_FROM_FLOW_NOT_SUPPORTEDMessage key for a standard UIMA exception message: "The FlowController class {0} does not 
 support the removeAnalysisEngines method. | 
| static String | TIMEOUT_ELAPSEDMessage key for a standard UIMA exception message: "This AnalysisEngine is serving too many
 simultaneous requests. | 
| static String | UNKNOWN_ID_IN_SEQUENCEMessage key for a standard UIMA exception message: "The ASB encountered an unknown Analysis
 Engine ID "{0}" in the execution sequence." | 
| static String | UNSUPPORTED_CAS_TYPEMessage key for a standard UIMA exception message: "AnalysisEngine subclass {0} does not
 support CAS class {1}." | 
| static String | UNSUPPORTED_STEP_TYPEMessage key for a standard UIMA exception message: "The FlowController returned a Step object
 of class {0}, which is not supported by this framework implementation." | 
REQUIRED_FEATURE_STRUCTURE_MISSING_FROM_CAS, RESOURCE_DATA_NOT_VALIDSTANDARD_MESSAGE_CATALOG| Constructor and Description | 
|---|
| AnalysisEngineProcessException()Creates a new exception with a null message. | 
| AnalysisEngineProcessException(String aMessageKey,
                              Object[] aArguments)Creates a new exception with a message from the  UIMAException.STANDARD_MESSAGE_CATALOG. | 
| AnalysisEngineProcessException(String aMessageKey,
                              Object[] aArguments,
                              Throwable aCause)Creates a new exception with the specified cause and a message from the
  UIMAException.STANDARD_MESSAGE_CATALOG. | 
| AnalysisEngineProcessException(String aResourceBundleName,
                              String aMessageKey,
                              Object[] aArguments)Creates a new exception with a the specified message. | 
| AnalysisEngineProcessException(String aResourceBundleName,
                              String aMessageKey,
                              Object[] aArguments,
                              Throwable aCause)Creates a new exception with the specified message and cause. | 
| AnalysisEngineProcessException(Throwable aCause)Creates a new exception with the specified cause and a null message. | 
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCauseaddSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ANNOTATOR_EXCEPTION
public static final String UNSUPPORTED_CAS_TYPE
public static final String TIMEOUT_ELAPSED
public static final String UNKNOWN_ID_IN_SEQUENCE
public static final String UNSUPPORTED_STEP_TYPE
public static final String ILLEGAL_DROP_CAS
public static final String INCORRECT_CAS_INTERFACE
public static final String REMOVE_AE_FROM_FLOW_NOT_SUPPORTED
public static final String FLOW_CANNOT_CONTINUE_AFTER_REMOVE
public AnalysisEngineProcessException()
public AnalysisEngineProcessException(Throwable aCause)
aCause - the original exception that caused this exception to be thrown, if anypublic AnalysisEngineProcessException(String aResourceBundleName, String aMessageKey, Object[] aArguments)
aResourceBundleName - the base name of the resource bundle in which the message for this exception is
          located.aMessageKey - an identifier that maps to the message for this exception. The message may contain
          placeholders for arguments as defined by the
          MessageFormat class.aArguments - The arguments to the message. null may be used if the message has no
          arguments.public AnalysisEngineProcessException(String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause)
aResourceBundleName - the base name of the resource bundle in which the message for this exception is
          located.aMessageKey - an identifier that maps to the message for this exception. The message may contain
          placeholders for arguments as defined by the
          MessageFormat class.aArguments - The arguments to the message. null may be used if the message has no
          arguments.aCause - the original exception that caused this exception to be thrown, if anypublic AnalysisEngineProcessException(String aMessageKey, Object[] aArguments)
UIMAException.STANDARD_MESSAGE_CATALOG.aMessageKey - an identifier that maps to the message for this exception. The message may contain
          placeholders for arguments as defined by the
          MessageFormat class.aArguments - The arguments to the message. null may be used if the message has no
          arguments.public AnalysisEngineProcessException(String aMessageKey, Object[] aArguments, Throwable aCause)
UIMAException.STANDARD_MESSAGE_CATALOG.aMessageKey - an identifier that maps to the message for this exception. The message may contain
          placeholders for arguments as defined by the
          MessageFormat class.aArguments - The arguments to the message. null may be used if the message has no
          arguments.aCause - the original exception that caused this exception to be thrown, if anyCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.