incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r964360 - /incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java
Date Thu, 15 Jul 2010 10:02:49 GMT
Author: kwright
Date: Thu Jul 15 10:02:48 2010
New Revision: 964360

URL: http://svn.apache.org/viewvc?rev=964360&view=rev
Log:
Missed a place that should have been an exception throw.

Modified:
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java

Modified: incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java?rev=964360&r1=964359&r2=964360&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java
(original)
+++ incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java
Thu Jul 15 10:02:48 2010
@@ -1823,11 +1823,8 @@ public class LCF extends org.apache.lcf.
       rval.addChild(rval.getChildCount(),error);
     }
     else
-    {
-      ConfigurationNode error = new ConfigurationNode(API_ERRORNODE);
-      error.setValue("Unrecognized command: "+command);
-      rval.addChild(rval.getChildCount(),error);
-    }
+      throw new LCFException("Unrecognized API command: "+command);
+    
     return rval;
   }
   



Mime
View raw message