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/05/13 15:28:23 UTC

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

Author: schor
Date: Fri May 13 15:28:23 2016
New Revision: 1743694

URL: http://svn.apache.org/viewvc?rev=1743694&view=rev
Log:
[UIMA-4932] add message

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=1743694&r1=1743693&r2=1743694&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 Fri May 13 15:28:23 2016
@@ -23,6 +23,7 @@ import org.apache.uima.UIMARuntimeExcept
 
 /**
  * Runtime exception class for package org.apache.uima.cas.
+ * Messages in org.apache.uima.UIMAException_Messages
  */
 public class CASRuntimeException extends UIMARuntimeException {
 
@@ -161,7 +162,10 @@ public class CASRuntimeException extends
 	/** No sofaFS for specified sofaRef found. */
 	public static final String SOFAREF_NOT_FOUND = "SOFAREF_NOT_FOUND";
 
-	/** Can''t use standard set methods with SofaFS features. */
+  /** Sofa reference for FS {0} is required, but it is not set.  This can happen during deserialization when the type system changes where this FeatureStructure''s type definition is now a subtype of uima.cas.AnnotationBase but was not when the serialized form was created.*/
+  public static final String SOFAREF_NOT_SET= "SOFAREF_NOT_SET";
+
+  /** Can''t use standard set methods with SofaFS features. */
 	public static final String PROTECTED_SOFA_FEATURE = "PROTECTED_SOFA_FEATURE";
 
 	/** The JCAS cover class "{0}" could not be loaded. */