org.apache.uima.annotator.bsf
Class BSFAnnotatorProcessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.uima.InternationalizedException
org.apache.uima.UIMAException
org.apache.uima.resource.ResourceProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.annotator.bsf.BSFAnnotatorProcessException
- All Implemented Interfaces:
- Serializable
public class BSFAnnotatorProcessException
- extends org.apache.uima.analysis_engine.AnalysisEngineProcessException
- See Also:
- Serialized Form
Fields inherited from class org.apache.uima.analysis_engine.AnalysisEngineProcessException |
ANNOTATOR_EXCEPTION, FLOW_CANNOT_CONTINUE_AFTER_REMOVE, ILLEGAL_DROP_CAS, INCORRECT_CAS_INTERFACE, REMOVE_AE_FROM_FLOW_NOT_SUPPORTED, TIMEOUT_ELAPSED, UNKNOWN_ID_IN_SEQUENCE, UNSUPPORTED_CAS_TYPE, UNSUPPORTED_STEP_TYPE |
Fields inherited from class org.apache.uima.resource.ResourceProcessException |
REQUIRED_FEATURE_STRUCTURE_MISSING_FROM_CAS, RESOURCE_DATA_NOT_VALID |
Fields inherited from class org.apache.uima.UIMAException |
STANDARD_MESSAGE_CATALOG |
Methods inherited from class org.apache.uima.InternationalizedException |
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause |
BSFAnnotatorProcessException
public BSFAnnotatorProcessException(String aMessageKey,
Object[] aArguments)
- Creates a new exception with a the specified message.
- Parameters:
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.
BSFAnnotatorProcessException
public BSFAnnotatorProcessException(String aMessageKey,
Object[] aArguments,
Throwable aCause)
- Creates a new exception with the specified cause and a message from the
UIMAException.STANDARD_MESSAGE_CATALOG
.
- Parameters:
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 any
BSFAnnotatorProcessException
public BSFAnnotatorProcessException(Throwable aCause)
- Creates a new exception with the specified cause and a null message.
- Parameters:
aCause
- the original exception that caused this exception to be thrown, if any
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.