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:33:43 UTC

svn commit: r1737059 - /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java

Author: schor
Date: Tue Mar 29 21:33:42 2016
New Revision: 1737059

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

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java?rev=1737059&r1=1737058&r2=1737059&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java Tue Mar 29 21:33:42 2016
@@ -238,6 +238,12 @@ public class CASRuntimeException extends
   /** While FS was in the index, illegal attempt to modify Feature "{0}" which is used as a key in one or more indexes; FS = "{1}" */
   public static final String ILLEGAL_FEAT_SET = "ILLEGAL_FEAT_SET";
   
+  /** ll_setIntValue call to change the type: new type "{0}" must be a subtype of existing type {1}.*/
+  public static final String ILLEGAL_TYPE_CHANGE = "ILLEGAL_TYPE_CHANGE";
+  
+  /** ll_setIntValue call to change the type, but the Feature Structure is in an index. New type: "{0}", existing type {1}.*/
+  public static final String ILLEGAL_TYPE_CHANGE_IN_INDEX = "ILLEGAL_TYPE_CHANGE_IN_INDEX";
+  
   /** Sofa reference in AnnotationBase may not be modified **/
   public static final String ILLEGAL_SOFAREF_MODIFICATION = "ILLEGAL_SOFAREF_MODIFICATION";