You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2012/08/21 23:05:47 UTC
svn commit: r1375793 -
/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java
Author: alally
Date: Tue Aug 21 21:05:47 2012
New Revision: 1375793
URL: http://svn.apache.org/viewvc?rev=1375793&view=rev
Log:
UIMA-2457: Fix error message in CasCopier when feature is not defined in target CAS type system
Modified:
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java
Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java?rev=1375793&r1=1375792&r2=1375793&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCopier.java Tue Aug 21 21:05:47 2012
@@ -290,7 +290,7 @@ public class CasCopier {
// not sharing same type system, so do a name loop up in destination type system
destFeat = destType.getFeatureByBaseName(srcFeat.getShortName());
if (destFeat == null) {
- throw new UIMARuntimeException(UIMARuntimeException.TYPE_NOT_FOUND_DURING_CAS_COPY,
+ throw new UIMARuntimeException(UIMARuntimeException.FEATURE_NOT_FOUND_DURING_CAS_COPY,
new Object[] { srcFeat.getName() });
}
}