Package org.apache.uima.resource
Class ResourceInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.uima.InternationalizedException
org.apache.uima.UIMAException
org.apache.uima.resource.ResourceInitializationException
- All Implemented Interfaces:
Serializable
Thrown by
Resource.initialize(ResourceSpecifier,Map)
to indicate that a failure has
occurred during initialization.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Message key for a standard UIMA exception message: "The Analysis Engine Descriptor is invalid - a Type System may not be explicitly set for an aggregate Analysis Engine."static final String
Message key for a standard UIMA exception message: The Sofa "{0}" in aggregate "{1}" is not mapped to any sofa of any component in that aggregate.static final String
Message key for a standard UIMA exception message: The String subtype {0} is declared twice, with different sets of allowed values: {1} and {2}.static final String
Message key for a standard UIMA exception message: "Type {0} specifies a list of allowed values but is not a subtype of uima.cas.String.static final String
Message key for a standard UIMA exception message: "Annotator class "{0}" was not found."static final String
Message key for a standard UIMA exception message: "Initialization of annotator class "{0}" failed."static final String
Message key for a standard UIMA exception message: "Annotator class {0} does not implement an Annotator interface that is supported by Analysis Engine implementation {1}."static final String
Message key for a standard UIMA exception message: "Initialization of CAS Processor with name "{0}" failed.static final String
Message key for a standard UIMA exception message: "The Resource class {0} could not be found."static final String
Message key for a standard UIMA exception message: Configuration setting for {0} is absentstatic final String
Message key for a standard UIMA exception message: "Could not access the resource data at {0}."static final String
Message key for a standard UIMA exception message: "Could not instantiate class {0}."static final String
Message key for a standard UIMA exception message: "Could not instantiate Annotator class "{0}".static final String
Message key for a standard UIMA exception message: "The Resource Factory does not know how to create a resource of class {0} from the given ResourceSpecifier."static final String
Message key for a standard UIMA exception message: "Duplicate configuration parameter name "{0}" in component "{1}"."static final String
Message key for a standard UIMA exception message: Two different CAS FeatureStructure indexes with name "{0}" have been defined.static final String
Message key for a standard UIMA exception message: "The aggregate AnalysisEngine "{0}" declared an empty <flowController/> element.static final String
Message key for a standard UIMA exception message: "Error initializing "{0}" from descriptor {1}."static final String
Message key for a standard UIMA exception message: Unexpected Exception thrown when initializing Custom Resource "{0}" from descriptor "{1}".static final String
Message key for a standard UIMA exception message: The aggregate "{0}" references a non-existent delegate "{1}" in it's Flow Controller's flow constraintsstatic final String
Message key for a standard UIMA exception message: The Flow Controller "{0}" requires a flow constraints element of type "{1}" in the aggregate descriptorstatic final String
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible element range types {1} and {2}.static final String
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible multipleReferencesAllowed specifications.static final String
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible range types {1} and {2}.static final String
Message key for a standard UIMA exception message: "The Type {0} is declared twice, with incompatible supertypes {1} and {2}."static final String
Message key for a standard UIMA exception message: "This resource requires {0} parameter(s)."static final String
Message key for a standard UIMA exception message: "The key Feature "{0}" declared for Index "{1}" was not found."static final String
Message key for a standard UIMA exception message: The input Sofa "{0}" in component "{1}" is not an input of the containing aggregate, "{2}", nor is it an output of another component in the same aggregate.static final String
Message key for a standard UIMA exception message: The value "{0}" is an invalid value for the FixedFlowController's "ActionAfterCasMultiplier" configuration parameter.static final String
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared modifiesCas == false, but its component "{1}" declared modifiesCas == true, which is inconsistent."static final String
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared multipleDeploymentAllowed == true, but its component "{1}" declared multipleDeploymentAllowed == false, which is inconsistent."static final String
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared outputsNewCASes == true, but all of its components declared outputsNewCASes == false, which is inconsistent."static final String
Message key for a standard UIMA exception message: Configuration parameter "{0}" in aggregate Analysis Engine "{1}" does not declare any overrides.static final String
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not exist.static final String
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not declare parameter {4}.static final String
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not declare parameter {4} in group {5}.static final String
Message key for a standard UIMA exception message: Invalid configuration parameter override syntax "{0}" in parameter "{1}" of Analysis Engine "{2}".static final String
Message key for a standard UIMA exception message: "Invalid type priorities."static final String
Message key for a standard UIMA exception message: "Malformed URL "{0}"."static final String
Message key for a standard UIMA exception message: "Type {0} extends String and must specify a list of allowed values."static final String
Message key for a standard UIMA exception message: "Annotator class name is required for a primitive Text Analysis Engine."static final String
Message key for a standard UIMA exception message: "Component descriptor did not specify the required <frameworkImplementation> element."static final String
Message key for a standard UIMA exception message: An implementation class name is missing from the descriptor.static final String
Message key for a standard UIMA exception message: "No resource could be found for the parameters {0}."static final String
Message key for a standard UIMA exception message: "Type "{0}" does not define a supertype."static final String
Message key for a standard UIMA exception message: "A CasConsumer descriptor specified implementation class "{0}", but this class does not implement the CasConsumer interface."static final String
Message key for a standard UIMA exception message: "A CasInitializer descriptor specified implementation class "{0}", but this class does not implement the CasInitializer interface."static final String
Message key for a standard UIMA exception message: "Error creating CAS Processor with name "{0}".static final String
Message key for a standard UIMA exception message: "A CollectionReader descriptor specified implementation class "{0}", but this class does not implement the CollectionReader interface."static final String
Message key for a standard UIMA exception message: "For resource "{0}", could not load data from class {1} into class {2}, because class {1} is not a Data Resource."static final String
Message key for a standard UIMA exception message: "An Aggregate Analysis Engine specified a Flow Controller descriptor {0} of an invalid type ({1})).static final String
Message key for a standard UIMA exception message: "The class {0} does not implement org.apache.uima.resource.SharedResourceObject."static final String
Message key for a standard UIMA exception message: "The class {0} is not a valid Analysis Component.static final String
Message key for a standard UIMA exception message: "Class "{0}" is not an Annotator."static final String
Message key for a standard UIMA exception message: The output Sofa "{0}" in component "{1}" is not mapped to any output Sofa in its containing aggregate, "{2}".static final String
Message key for a standard UIMA exception message: Configuration parameter "{0}" in primitive Analysis Engine "{1}" declares an override.static final String
static final String
Message key for a standard UIMA exception message: "The configuration data {0} for Configuraion parameter {1} in the resource is absent or not valid"static final String
Message key for a standard UIMA exception message: "There is no resource satisfying the required resource dependency with key "{0}"."static final String
Message key for a standard UIMA exception message: "The resource with name "{0}" does not implement the required interface {1}."private static final long
static final String
Message key for a standard UIMA exception message: The Sofa "{0}" in component "{1}" of aggregate "{2}" has conflicting mappings to aggregate sofas "{3}" and "{4}".static final String
Message key for a standard UIMA exception message: Undefined component key "{1}", referenced in Sofa mapping for Sofa "{2}" of aggregate "{3}".static final String
Message key for a standard UIMA exception message: Component "{0}" does not contain Sofa "{1}", referenced in Sofa mapping for Sofa "{2}" of aggregate "{3}".static final String
Message key for a standard UIMA exception message: "Sofa mappings were specified for the remote Analysis Engine {0}.static final String
Message key for a standard UIMA exception message: "The primitive AnalysisEngine "{0}" has an annotator of type {1} but its descriptor declares input or output Sofas.static final String
Message key for a standard UIMA exception message: Unexpected Throwable or Error thrown when initializing Custom Resource "{0}" from descriptor "{1}".static final String
Message key for a standard UIMA exception message: The descriptor for Aggregate Analysis Engine "{0}" specified an invalid flow.static final String
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced in feature "{1}" declared on type "{2}"."static final String
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced as supertype of type "{1}"."static final String
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced in definition of index "{1}"."static final String
Message key for a standard UIMA exception message: "Undefined type "{0}" in type priority list."static final String
Message key for a standard UIMA exception message: "Unknown Protocol: "{0}"."static final String
Message key for a standard UIMA exception message: "No resource with name "{0}" has been declared in this Analysis Engine."static final String
Message key for a standard UIMA exception message: "{0} is not a supported framework implementation"static final String
Message key for a standard UIMA exception message: "The CasCreationUtils.createCas method was passed a collection containing an object of class {0}, which is not supported.Fields inherited from class org.apache.uima.UIMAException
STANDARD_MESSAGE_CATALOG
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with a null message.ResourceInitializationException
(String aMessageKey, Object[] aArguments) Creates a new exception with a message from theUIMAException.STANDARD_MESSAGE_CATALOG
.ResourceInitializationException
(String aMessageKey, Object[] aArguments, Throwable aCause) Creates a new exception with the specified cause and a message from theUIMAException.STANDARD_MESSAGE_CATALOG
.ResourceInitializationException
(String aResourceBundleName, String aMessageKey, Object[] aArguments) Creates a new exception with a the specified message.ResourceInitializationException
(String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause) Creates a new exception with the specified message and cause.Creates a new exception with the specified cause and a null message. -
Method Summary
Methods inherited from class org.apache.uima.InternationalizedException
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ERROR_INITIALIZING_FROM_DESCRIPTOR
Message key for a standard UIMA exception message: "Error initializing "{0}" from descriptor {1}."- See Also:
-
MISSING_ANNOTATOR_CLASS_NAME
Message key for a standard UIMA exception message: "Annotator class name is required for a primitive Text Analysis Engine."- See Also:
-
ANNOTATOR_CLASS_NOT_FOUND
Message key for a standard UIMA exception message: "Annotator class "{0}" was not found."- See Also:
-
NOT_AN_ANNOTATOR
Message key for a standard UIMA exception message: "Class "{0}" is not an Annotator."- See Also:
-
ANNOTATOR_INTERFACE_NOT_SUPPORTED
Message key for a standard UIMA exception message: "Annotator class {0} does not implement an Annotator interface that is supported by Analysis Engine implementation {1}."- See Also:
-
COULD_NOT_INSTANTIATE_ANNOTATOR
Message key for a standard UIMA exception message: "Could not instantiate Annotator class "{0}". Check that your annotator class is not abstract and has a zero-argument constructor."- See Also:
-
ANNOTATOR_INITIALIZATION_FAILED
Message key for a standard UIMA exception message: "Initialization of annotator class "{0}" failed."- See Also:
-
INCOMPATIBLE_RANGE_TYPES
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible range types {1} and {2}. (Descriptor: {3})"- See Also:
-
INCOMPATIBLE_ELEMENT_RANGE_TYPES
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible element range types {1} and {2}. (Descriptor: {3})."- See Also:
-
INCOMPATIBLE_SUPERTYPES
Message key for a standard UIMA exception message: "The Type {0} is declared twice, with incompatible supertypes {1} and {2}."- See Also:
-
INCOMPATIBLE_MULTI_REFS
Message key for a standard UIMA exception message: "The feature {0} is declared twice, with incompatible multipleReferencesAllowed specifications. (Descriptor: {1})"- See Also:
-
ALLOWED_VALUES_NOT_IDENTICAL
Message key for a standard UIMA exception message: The String subtype {0} is declared twice, with different sets of allowed values: {1} and {2}. (Descriptor: {3})- See Also:
-
UNDEFINED_RANGE_TYPE
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced in feature "{1}" declared on type "{2}"."- See Also:
-
UNDEFINED_SUPERTYPE
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced as supertype of type "{1}"."- See Also:
-
UNDEFINED_TYPE_FOR_INDEX
Message key for a standard UIMA exception message: "Undefined type "{0}", referenced in definition of index "{1}"."- See Also:
-
UNDEFINED_TYPE_FOR_PRIORITY_LIST
Message key for a standard UIMA exception message: "Undefined type "{0}" in type priority list."- See Also:
-
INDEX_KEY_FEATURE_NOT_FOUND
Message key for a standard UIMA exception message: "The key Feature "{0}" declared for Index "{1}" was not found."- See Also:
-
AGGREGATE_AE_TYPE_SYSTEM
Message key for a standard UIMA exception message: "The Analysis Engine Descriptor is invalid - a Type System may not be explicitly set for an aggregate Analysis Engine."- See Also:
-
MISSING_ALLOWED_VALUES
Message key for a standard UIMA exception message: "Type {0} extends String and must specify a list of allowed values."- See Also:
-
ALLOWED_VALUES_ON_NON_STRING_TYPE
Message key for a standard UIMA exception message: "Type {0} specifies a list of allowed values but is not a subtype of uima.cas.String. You may only specify a list of allowed values for string subtypes."- See Also:
-
DUPLICATE_CONFIGURATION_PARAMETER_NAME
Message key for a standard UIMA exception message: "Duplicate configuration parameter name "{0}" in component "{1}"."- See Also:
-
INCORRECT_NUMBER_OF_PARAMETERS
Message key for a standard UIMA exception message: "This resource requires {0} parameter(s)."- See Also:
-
NO_RESOURCE_FOR_PARAMETERS
Message key for a standard UIMA exception message: "No resource could be found for the parameters {0}."- See Also:
-
COULD_NOT_ACCESS_DATA
Message key for a standard UIMA exception message: "Could not access the resource data at {0}."- See Also:
-
CLASS_NOT_FOUND
Message key for a standard UIMA exception message: "The Resource class {0} could not be found."- See Also:
-
COULD_NOT_INSTANTIATE
Message key for a standard UIMA exception message: "Could not instantiate class {0}."- See Also:
-
DO_NOT_KNOW_HOW
Message key for a standard UIMA exception message: "The Resource Factory does not know how to create a resource of class {0} from the given ResourceSpecifier."- See Also:
-
NOT_A_SHARED_RESOURCE_OBJECT
Message key for a standard UIMA exception message: "The class {0} does not implement org.apache.uima.resource.SharedResourceObject."- See Also:
-
NOT_A_DATA_RESOURCE
Message key for a standard UIMA exception message: "For resource "{0}", could not load data from class {1} into class {2}, because class {1} is not a Data Resource."- See Also:
-
UNKNOWN_RESOURCE_NAME
Message key for a standard UIMA exception message: "No resource with name "{0}" has been declared in this Analysis Engine."- See Also:
-
RESOURCE_DOES_NOT_IMPLEMENT_INTERFACE
Message key for a standard UIMA exception message: "The resource with name "{0}" does not implement the required interface {1}."- See Also:
-
RESOURCE_DEPENDENCY_NOT_SATISFIED
Message key for a standard UIMA exception message: "There is no resource satisfying the required resource dependency with key "{0}"."- See Also:
-
UNKNOWN_PROTOCOL
Message key for a standard UIMA exception message: "Unknown Protocol: "{0}"."- See Also:
-
MALFORMED_URL
Message key for a standard UIMA exception message: "Malformed URL "{0}"."- See Also:
-
RESOURCE_DATA_NOT_VALID
Message key for a standard UIMA exception message: "The configuration data {0} for Configuraion parameter {1} in the resource is absent or not valid"- See Also:
-
CONFIG_SETTING_ABSENT
Message key for a standard UIMA exception message: Configuration setting for {0} is absent- See Also:
-
DUPLICATE_INDEX_NAME
Message key for a standard UIMA exception message: Two different CAS FeatureStructure indexes with name "{0}" have been defined.- See Also:
-
PARAM_OVERRIDE_IN_PRIMITIVE
Message key for a standard UIMA exception message: Configuration parameter "{0}" in primitive Analysis Engine "{1}" declares an override. Parameter overrides are allowed only in aggregate Analysis Engines.- See Also:
-
INVALID_PARAM_OVERRIDE_NO_OVERRIDES
Message key for a standard UIMA exception message: Configuration parameter "{0}" in aggregate Analysis Engine "{1}" does not declare any overrides. Implicit overrides are no longer supported. (Descriptor: {2})- See Also:
-
INVALID_PARAM_OVERRIDE_SYNTAX
Message key for a standard UIMA exception message: Invalid configuration parameter override syntax "{0}" in parameter "{1}" of Analysis Engine "{2}". Overrides must be of the form "<delegateKey>/<paramName>"- See Also:
-
INVALID_PARAM_OVERRIDE_NONEXISTENT_DELEGATE
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not exist.- See Also:
-
INVALID_PARAM_OVERRIDE_NONEXISTENT_PARAMETER
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not declare parameter {4}.- See Also:
-
INVALID_PARAM_OVERRIDE_NONEXISTENT_PARAMETER_IN_GROUP
Message key for a standard UIMA exception message: Invalid configuration parameter override "{0}" in parameter "{1}" of Analysis Engine "{2}" -- delegate Analysis Engine "{3}" does not declare parameter {4} in group {5}.- See Also:
-
OUTPUT_SOFA_NOT_DECLARED_IN_AGGREGATE
Message key for a standard UIMA exception message: The output Sofa "{0}" in component "{1}" is not mapped to any output Sofa in its containing aggregate, "{2}".- See Also:
-
INPUT_SOFA_HAS_NO_SOURCE
Message key for a standard UIMA exception message: The input Sofa "{0}" in component "{1}" is not an input of the containing aggregate, "{2}", nor is it an output of another component in the same aggregate.- See Also:
-
AGGREGATE_SOFA_NOT_MAPPED
Message key for a standard UIMA exception message: The Sofa "{0}" in aggregate "{1}" is not mapped to any sofa of any component in that aggregate.- See Also:
-
SOFA_MAPPING_CONFLICT
Message key for a standard UIMA exception message: The Sofa "{0}" in component "{1}" of aggregate "{2}" has conflicting mappings to aggregate sofas "{3}" and "{4}".- See Also:
-
MISSING_IMPLEMENTATION_CLASS_NAME
Message key for a standard UIMA exception message: An implementation class name is missing from the descriptor.- See Also:
-
NOT_A_CAS_PROCESSOR
Message key for a standard UIMA exception message: "Error creating CAS Processor with name "{0}". The descriptor type "{1}" is not allowed - you must specify an AnalysisEngine or CAS Consumer descriptor."- See Also:
-
NOT_A_COLLECTION_READER
Message key for a standard UIMA exception message: "A CollectionReader descriptor specified implementation class "{0}", but this class does not implement the CollectionReader interface."- See Also:
-
NOT_A_CAS_CONSUMER
Message key for a standard UIMA exception message: "A CasConsumer descriptor specified implementation class "{0}", but this class does not implement the CasConsumer interface."- See Also:
-
NOT_A_CAS_INITIALIZER
Message key for a standard UIMA exception message: "A CasInitializer descriptor specified implementation class "{0}", but this class does not implement the CasInitializer interface."- See Also:
-
CAS_PROCESSOR_INITIALIZE_FAILED
Message key for a standard UIMA exception message: "Initialization of CAS Processor with name "{0}" failed.- See Also:
-
INVALID_MULTIPLE_DEPLOYMENT_ALLOWED
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared multipleDeploymentAllowed == true, but its component "{1}" declared multipleDeploymentAllowed == false, which is inconsistent."- See Also:
-
INVALID_MODIFIES_CAS
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared modifiesCas == false, but its component "{1}" declared modifiesCas == true, which is inconsistent."- See Also:
-
INVALID_TYPE_PRIORITIES
Message key for a standard UIMA exception message: "Invalid type priorities."- See Also:
-
NO_SUPERTYPE
Message key for a standard UIMA exception message: "Type "{0}" does not define a supertype."- See Also:
-
SOFA_MAPPING_HAS_UNDEFINED_COMPONENT_KEY
Message key for a standard UIMA exception message: Undefined component key "{1}", referenced in Sofa mapping for Sofa "{2}" of aggregate "{3}".- See Also:
-
SOFA_MAPPING_HAS_UNDEFINED_COMPONENT_SOFA
Message key for a standard UIMA exception message: Component "{0}" does not contain Sofa "{1}", referenced in Sofa mapping for Sofa "{2}" of aggregate "{3}".- See Also:
-
NOT_AN_ANALYSIS_COMPONENT
Message key for a standard UIMA exception message: "The class {0} is not a valid Analysis Component. You must specify an Annotator, CAS Consumer, Collection Reader, or CAS Multiplier. "- See Also:
-
NOT_A_FLOW_CONTROLLER_DESCRIPTOR
Message key for a standard UIMA exception message: "An Aggregate Analysis Engine specified a Flow Controller descriptor {0} of an invalid type ({1})). A FlowControllerDescription is required."- See Also:
-
UNSUPPORTED_FRAMEWORK_IMPLEMENTATION
Message key for a standard UIMA exception message: "{0} is not a supported framework implementation"- See Also:
-
INVALID_OUTPUTS_NEW_CASES
Message key for a standard UIMA exception message: "The descriptor for aggregate AnalysisEngine "{0}" declared outputsNewCASes == true, but all of its components declared outputsNewCASes == false, which is inconsistent."- See Also:
-
EMPTY_FLOW_CONTROLLER_DECLARATION
Message key for a standard UIMA exception message: "The aggregate AnalysisEngine "{0}" declared an empty <flowController/> element. You must specify an import or a flowControllerDescription."- See Also:
-
TEXT_ANNOTATOR_CANNOT_BE_SOFA_AWARE
Message key for a standard UIMA exception message: "The primitive AnalysisEngine "{0}" has an annotator of type {1} but its descriptor declares input or output Sofas. Text annotators are not allowed to declare input or output Sofas. Consider extending CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead."- See Also:
-
MISSING_FRAMEWORK_IMPLEMENTATION
Message key for a standard UIMA exception message: "Component descriptor did not specify the required <frameworkImplementation> element."- See Also:
-
UNSUPPORTED_OBJECT_TYPE_IN_CREATE_CAS
Message key for a standard UIMA exception message: "The CasCreationUtils.createCas method was passed a collection containing an object of class {0}, which is not supported. Refer to the Javadoc for a list of types accepted by this method."- See Also:
-
SOFA_MAPPING_NOT_SUPPORTED_FOR_REMOTE
Message key for a standard UIMA exception message: "Sofa mappings were specified for the remote Analysis Engine {0}. Sofa mappings are not currently supported for remote Analysis Engines. A workaround is to wrap the remotely deployed AE in an Aggregate (on the remote side), and specify Sofa mappings in that aggregate."- See Also:
-
UNDEFINED_KEY_IN_FLOW
Message key for a standard UIMA exception message: The descriptor for Aggregate Analysis Engine "{0}" specified an invalid flow. The key "{1}" was used in the flow but is not defined as a key in the <delegateAnalysisEngineSpecifiers> element of the descriptor.- See Also:
-
INVALID_ACTION_AFTER_CAS_MULTIPLIER
Message key for a standard UIMA exception message: The value "{0}" is an invalid value for the FixedFlowController's "ActionAfterCasMultiplier" configuration parameter. Valid values are "continue", "stop", "drop", and "dropIfNewCasProduced".- See Also:
-
FLOW_CONTROLLER_REQUIRES_FLOW_CONSTRAINTS
Message key for a standard UIMA exception message: The Flow Controller "{0}" requires a flow constraints element of type "{1}" in the aggregate descriptor- See Also:
-
FLOW_CONTROLLER_MISSING_DELEGATE
Message key for a standard UIMA exception message: The aggregate "{0}" references a non-existent delegate "{1}" in it's Flow Controller's flow constraints- See Also:
-
EXCEPTION_WHEN_INITIALIZING_CUSTOM_RESOURCE
Message key for a standard UIMA exception message: Unexpected Exception thrown when initializing Custom Resource "{0}" from descriptor "{1}".- See Also:
-
THROWABLE_WHEN_INITIALIZING_CUSTOM_RESOURCE
Message key for a standard UIMA exception message: Unexpected Throwable or Error thrown when initializing Custom Resource "{0}" from descriptor "{1}".- See Also:
-
REDEFINING_BUILTIN_TYPE
- See Also:
-
-
Constructor Details
-
ResourceInitializationException
public ResourceInitializationException()Creates a new exception with a null message. -
ResourceInitializationException
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
-
ResourceInitializationException
public ResourceInitializationException(String aResourceBundleName, String aMessageKey, Object[] aArguments) Creates a new exception with a the specified message.- Parameters:
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 theMessageFormat
class.aArguments
- The arguments to the message.null
may be used if the message has no arguments.
-
ResourceInitializationException
public ResourceInitializationException(String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause) Creates a new exception with the specified message and cause.- Parameters:
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 theMessageFormat
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
-
ResourceInitializationException
Creates a new exception with a message from theUIMAException.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 theMessageFormat
class.aArguments
- The arguments to the message.null
may be used if the message has no arguments.
-
ResourceInitializationException
Creates a new exception with the specified cause and a message from theUIMAException.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 theMessageFormat
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
-