public class BSFAnnotatorProcessException
extends 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
Constructor and Description |
---|
BSFAnnotatorProcessException(String aMessageKey,
Object[] aArguments)
Creates a new exception with a the specified message.
|
BSFAnnotatorProcessException(String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified cause and a message from the
UIMAException.STANDARD_MESSAGE_CATALOG . |
BSFAnnotatorProcessException(Throwable aCause)
Creates a new exception with the specified cause and a null message.
|
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BSFAnnotatorProcessException(String aMessageKey, Object[] aArguments)
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 BSFAnnotatorProcessException(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 anypublic BSFAnnotatorProcessException(Throwable aCause)
aCause
- the original exception that caused this exception to be thrown, if anyCopyright © 2006–2015 The Apache Software Foundation. All rights reserved.