You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2015/11/02 19:12:47 UTC

svn commit: r1712105 - in /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima: ./ cas/admin/ cas/impl/ pear/

Author: schor
Date: Mon Nov  2 18:12:47 2015
New Revision: 1712105

URL: http://svn.apache.org/viewvc?rev=1712105&view=rev
Log:
[UIMA-4674] update exception method property files

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/admin/admin_errors.properties
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/annot_impl.properties
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/ll_runtimeException.properties
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/pear/pear_messages.properties

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties?rev=1712105&r1=1712104&r2=1712105&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties Mon Nov  2 18:12:47 2015
@@ -59,6 +59,8 @@ illegal_adding_of_new_meta_info = Illega
 
 illegal_update_indexed_fs = Illegal update of indexed Feature Structure feature used as an key in one or more indices
 
+INTERNAL_ERROR = An internal error occurred, please report to the Apache UIMA project; nested exception if present: {0}
+
 #--------------------------
 #UIMA_IllegalStateException
 #--------------------------          
@@ -530,13 +532,17 @@ NON_CREATABLE_TYPE = Can''t create FS of
 ILLEGAL_ARRAY_SIZE = Array size must be >= 0.
 INAPPROP_TYPE = Expected value of type "{0}", but found "{1}".
 INAPPROP_FEAT = Feature "{0}" is not defined for type "{1}".
+INAPPROP_FEAT_X = Feature is not defined for type.
 INAPPROP_RANGE = Trying to access value of feature "{0}" as "{1}", but range of feature is "{2}".
+SET_REF_FROM_STRING_NOT_SUPPORTED = Setting a reference value "{0}" from a string is not supported.
 PRIMITIVE_VAL_FEAT = Trying to access value of feature "{0}" as feature structure, but is primitive type.
 TYPESYSTEM_NOT_LOCKED = Error accessing type system: the type system has not been committed.
 ILLEGAL_STRING_VALUE = Error setting string value: string "{0}" is not valid for a value of type "{1}".
 UNKNOWN_CONSTRAINT_TYPE = Error applying FS constraint: no type "{0}" in current type system.
 UNKNOWN_CONSTRAINT_FEAT = Error applying FS constraint: no feature "{0}" in current type system.
 CHILD_INDEX_OOB = Error accessing child node in tree, index out of range.
+JCAS_CAS_NOT_V3 = JCas Class "{0}" is missing required constructor; likely cause is wrong version (UIMA version 3 or later JCas required).
+JCAS_MISSING_FIELD_ACCESSOR = JCas Class "{0}" is missing required field accessor, or access not permitted, for field "{1}" during {2} operation.
 JCAS_CAS_MISMATCH = CAS type system doesn''t match JCas Type definition for type "{0}".
 JCAS_TYPE_NOT_IN_CAS = JCas type "{0}" used in Java code,  but was not declared in the XML type descriptor.
 JCAS_UNKNOWN_TYPE_NOT_IN_CAS = Unknown JCas type used in Java code but was not declared or imported in the XML descriptor for this component.
@@ -567,5 +573,11 @@ INVALID_MARKER = Marker is invalid.
 MULTIPLE_CREATE_MARKER = CreateMarker called multiple times for one CAS.  This implementation only supports one call.
 DESERIALIZING_BINARY_INVALID_HEADER = While deserializing binary CAS, found invalid header.
 DESERIALIZING_COMPRESSED_BINARY_UNSUPPORTED = Using the reinit method to deserialize a binary CAS serialized with compressed serialization not supported for this case.
-DEREF_FS_OTHER_CAS = Dereferencing a FeatureStructure of a CAS in a different CAS's context. This can happen if you try to set a feature structure reference to a value of a feature structure belonging to an entirely different CAS. FS = "{0}", CAS = "{1}".
+DEREF_FS_OTHER_CAS = Dereferencing a FeatureStructure of a CAS in a different CAS''s context. This can happen if you try to set a feature structure reference to a value of a feature structure belonging to an entirely different CAS. FS = "{0}", CAS = "{1}".
 ILLEGAL_FEAT_SET = While a FeatureStructure was in the index, an illegal attempt was made to modify Feature "{0}" which is used as a key in one or more indices; the Feature Structure being modified was "{1}".
+ILLEGAL_SOFAREF_MODIFICATION = Sofa reference in AnnotationBase may not be modified.
+NOT_SUPPORTED_NO_HEAP_IN_UIMA_V3 = This method depends on having a CAS Heap design, and is not support in UIMA Version 3 and later.
+CREATE_FS_BEFORE_TS_COMMITTED = Cannot create FS of type "{0}" until the type system has been committed.
+GET_CLASS_FOR_TYPE_BEFORE_TS_COMMIT = Cannot request the Java Class for a UIMA type before type system commit.
+CAS_MISSING_FS = The CAS doesn''t have a Feature Structure whose ID is {0}; it may have been garbage collected.
+INVALID_FS_ID = The Feature Structure ID {0} is invalid.
\ No newline at end of file

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/admin/admin_errors.properties
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/admin/admin_errors.properties?rev=1712105&r1=1712104&r2=1712105&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/admin/admin_errors.properties (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/admin/admin_errors.properties Mon Nov  2 18:12:47 2015
@@ -17,10 +17,17 @@
 #	 * under the License.
 #	 ***************************************************************
 
+#  ***************************************************************
+#  * Messages from the
+#  *   Type System, 
+#  *   JCas, and 
+#  *   Index Repository administrative APIs
+#  ***************************************************************
+
 REPOSITORY_LOCKED = Can''t add index to a committed repository.
 TYPE_SYSTEM_LOCKED = Type system is committed; can''t add types or features.
 MUST_COMMIT_TYPE_SYSTEM = Type system has not been committed; can''t create index repository.
-MUST_COMMIT_INDEX_REPOSITORY = Index repository has not been committed; can't create CAS.
+MUST_COMMIT_INDEX_REPOSITORY = Index repository has not been committed; can''t create CAS.
 BAD_TYPE_SYNTAX = Invalid type name "{0}".  Type names must start with a letter and consist only of letters, digits, or underscores.
 BAD_FEATURE_SYNTAX = Invalid feature name "{0}".  Feature names must start with a letter and consist only of letters, digits, or underscores.
 TYPE_IS_INH_FINAL = Can''t derive from type "{0}" since it is inheritance final.
@@ -29,3 +36,8 @@ DESERIALIZATION_ERROR = Error deserializ
 FLUSH_DISABLED = Can''t flush CAS, flushing is disabled.
 JCAS_ERROR = {0}
 DUPLICATE_FEATURE = Trying to define feature "{0}" on type "{1}" with range "{2}", but feature has already been defined on (super)type "{3}" with range "{4}".
+DUPLICATE_TYPE = Trying to define type "{0}", but this type has already been defined as "{1}".
+MISSING_ARRAY_TYPE_FOR_COMPONENT = Tried to obtain a UIMA Array type for component "{0}", but no such array type is defined.
+STRING_SUBTYPE_REDEFINE_NAME_CONFLICT = Can''t define a Subtype of String whose type name "{0}" is the same as an existing non String Subtype "{1}"
+STRING_SUBTYPE_CONFLICTING_ALLOWED_VALUES =  Can''t define a Subtype of String "{0}" with allowed Values "{1}", which has the same name as an existing String Subtype with different allowed values "{2}".
+INDEX_DUPLICATES_NOT_SUPPORTED = uima.allow_duplicate_add_to_indexes is not supported in UIMA Version 3 and later
\ No newline at end of file

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/annot_impl.properties
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/annot_impl.properties?rev=1712105&r1=1712104&r2=1712105&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/annot_impl.properties (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/annot_impl.properties Mon Nov  2 18:12:47 2015
@@ -17,7 +17,7 @@
 #	 * under the License.
 #	 ***************************************************************
 
-CANT_ADD_TOP = Type system parsing error for file "{0}": couldn't add top type "{1}" at line {2}, column {3}.  Non-empty hierarchy?
+CANT_ADD_TOP = Type system parsing error for file "{0}": couldn''t add top type "{1}" at line {2}, column {3}.  Non-empty hierarchy?
 PARSING_ERROR = Error parsing types system file "{0}": expected {1} but found "{2}" at line {3}, column {4}.
 UNKN_TYPE = Error parsing types system file "{0}": type "{1}" must be declared before it is used at line {2}, column {3}.
 COULDNT_ADD_FEAT = Error parsing types system file "{0}": feature "{1}" could not be added at line {2}, column {3}.  Name already in use?

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/ll_runtimeException.properties
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/ll_runtimeException.properties?rev=1712105&r1=1712104&r2=1712105&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/ll_runtimeException.properties (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/cas/impl/ll_runtimeException.properties Mon Nov  2 18:12:47 2015
@@ -26,9 +26,10 @@ FS_RAN_TYPE_ERROR = Error in low-level C
 ACCESS_TYPE_ERROR = Error in low-level CAS APIs: trying to access value FS reference {0} as type "{2}" (code: {1}), but is "{3}".
 ARRAY_INDEX_OUT_OF_RANGE = Error in low-level CAS APIs: array index out of range: {0}.
 ARRAY_INDEX_LENGTH_OUT_OF_RANGE = Error in low-level CAS APIs: array index and or length out of range. index: {0}, length: {1}.
-CREATE_FS_OF_TYPE_ERROR = Error in low-level CAS APIs: can't create FS reference for type code {0}.
+CREATE_FS_OF_TYPE_ERROR = Error in low-level CAS APIs: can''t create FS reference for type code {0}.
 INVALID_INDEX_TYPE = Error in low-level CAS APIs: trying to access index for invalid type code: {0}.
-CREATE_ARRAY_OF_TYPE_ERROR = Error in low-level CAS APIs: can't create array of type "{1}" (code: {0}).  Must be a valid (built-in) array type.
+CREATE_ARRAY_OF_TYPE_ERROR = Error in low-level CAS APIs: can''t create array of type "{1}" (code: {0}).  Must be a valid (built-in) array type.
 ILLEGAL_ARRAY_LENGTH = Error in low-level CAS APIs: illegal array length specified: {0}.
 INVALID_TYPE_ARGUMENT = Error in low-level CAS APIs: illegal type code argument: {0}.
+INVLAID_TYPECODE = Invalid Type Code value: {0}.
 NULL_ARRAY_ACCESS = Error in low-level CAS APIs: attempting to access element {0} of array but array has null value.

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/pear/pear_messages.properties
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/pear/pear_messages.properties?rev=1712105&r1=1712104&r2=1712105&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/pear/pear_messages.properties (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/pear/pear_messages.properties Mon Nov  2 18:12:47 2015
@@ -25,8 +25,8 @@ installation_verification_completed = In
 package_installer_message = Package installer message: {0}
 package_installer_error = Package installer error: {0}
 package_creator_env_setting = component {0} setting
-package_creator_classpath_not_valid_warning = Warning: classpath entry contains ':', use ';' as path separator.
-package_creator_datapath_not_valid_warning =  Warning: datapath entry contains ':', use ';' as path separator.
+package_creator_classpath_not_valid_warning = Warning: classpath entry contains '':'', use '';'' as path separator.
+package_creator_datapath_not_valid_warning =  Warning: datapath entry contains '':'', use '';'' as path separator.
 package_creator_install_desc_created_info = Installation descriptor successfully created at {0}.
 package_creator_pear_created_info = PEAR package successfully created at {0}.
 installation_verification_ae_not_created = The analysis engine for component {0} could not be created completely.