incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1163591 - /incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Date Wed, 31 Aug 2011 12:08:02 GMT
Author: kwright
Date: Wed Aug 31 12:08:02 2011
New Revision: 1163591

URL: http://svn.apache.org/viewvc?rev=1163591&view=rev
Log:
Add enough info to error message to give a hint as to what state the record is actually in.
 Part of ticket CONNECTORS-246.

Modified:
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java?rev=1163591&r1=1163590&r2=1163591&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Wed Aug 31 12:08:02 2011
@@ -630,7 +630,7 @@ public class JobQueue extends org.apache
       checkTimeValue = new Long(0L);
       break;
     default:
-      throw new ManifoldCFException("Unexpected jobqueue status - record id "+recID.toString()+",
expecting active status");
+      throw new ManifoldCFException("Unexpected jobqueue status - record id "+recID.toString()+",
expecting active status, saw "+Integer.toString(currentStatus));
     }
 
     HashMap map = new HashMap();



Mime
View raw message