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 2016/03/29 23:31:52 UTC

svn commit: r1737058 - /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_Messages.properties

Author: schor
Date: Tue Mar 29 21:31:52 2016
New Revision: 1737058

URL: http://svn.apache.org/viewvc?rev=1737058&view=rev
Log:
[UIMA-4674] new exception messages

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/resources/org/apache/uima/UIMAException_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=1737058&r1=1737057&r2=1737058&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 Tue Mar 29 21:31:52 2016
@@ -550,7 +550,7 @@ JCAS_UNKNOWN_TYPE_NOT_IN_CAS = Unknown J
 JCAS_FIELD_MISSING_IN_TYPE_SYSTEM = JCAS class "{0}" defines a UIMA field "{1}" but the UIMA type doesn''t define that field.
 JCAS_FIELD_ADJ_OFFSET_CHANGED = In JCAS class "{0}", UIMA field "{1}" was set up at type system type adjusted offset "{2}" but a different type system being used with the same JCas class has this offset at "{3}", which is not allowed.
 JCAS_CAS_MISMATCH_SUPERTYPE = JCas Class's supertypes for "{0}", "{1}" and the corresponding UIMA Supertypes for "{2}", "{3}" don't have an intersection.
-JCAS_TYPE_RANGE_MISMATCH = CAS type system type "{0}" defines field "{1}" with range "{2}", but JCas class has range "{3}".
+JCAS_TYPE_RANGE_MISMATCH = CAS type system type "{0}" defines field "{1}" with range "{2}", but JCas getter method is returning "{3}" which is not a subtype of the declared range.
 JCAS_GET_NTH_ON_EMPTY_LIST = JCas getNthElement method called via invalid object - an empty list: {0}.
 JCAS_GET_NTH_NEGATIVE_INDEX = JCas getNthElement method called with index "{0}" which is negative.
 JCAS_GET_NTH_PAST_END = JCas getNthElement method called with index "{0}" larger than the length of the list.
@@ -579,6 +579,8 @@ DESERIALIZING_BINARY_INVALID_HEADER = Wh
 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}".
 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_TYPE_CHANGE = ll_setIntValue call to change the type: new type "{0}" must be a subtype of existing type "{1}".
+ILLEGAL_TYPE_CHANGE_IN_INDEX = ll_setIntValue call to change the type, but the Feature Structure is in an index. New type: "{0}", existing type "{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.