public class CasProcessorDeploymentException extends ResourceProcessException
Modifier and Type | Field and Description |
---|---|
static String |
DEPLOYER_EXCEPTION
Message key for a standard UIMA exception message: "Annotator processing failed."
|
static String |
UNSUPPORTED_CAS_TYPE
Message key for a standard UIMA exception message: "AnalysisEngine subclass {0} does not
support CAS class {1}."
|
REQUIRED_FEATURE_STRUCTURE_MISSING_FROM_CAS, RESOURCE_DATA_NOT_VALID
STANDARD_MESSAGE_CATALOG
Constructor and Description |
---|
CasProcessorDeploymentException()
Creates a new exception with a null message.
|
CasProcessorDeploymentException(String aMessageKey,
Object[] aArguments)
Creates a new exception with a message from the
UIMAException.STANDARD_MESSAGE_CATALOG . |
CasProcessorDeploymentException(String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified cause and a message from the
UIMAException.STANDARD_MESSAGE_CATALOG . |
CasProcessorDeploymentException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments)
Creates a new exception with a the specified message.
|
CasProcessorDeploymentException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified message and cause.
|
CasProcessorDeploymentException(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 static final String DEPLOYER_EXCEPTION
public static final String UNSUPPORTED_CAS_TYPE
public CasProcessorDeploymentException()
public CasProcessorDeploymentException(Throwable aCause)
aCause
- the original exception that caused this exception to be thrown, if anypublic CasProcessorDeploymentException(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 CasProcessorDeploymentException(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 CasProcessorDeploymentException(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 CasProcessorDeploymentException(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 © 2014. All rights reserved.