lcsim/src/org/lcsim/job
diff -u -r1.38 -r1.39
--- JobControlManager.java 17 May 2010 21:26:20 -0000 1.38
+++ JobControlManager.java 18 May 2010 21:04:48 -0000 1.39
@@ -25,6 +25,7 @@
import org.freehep.application.studio.Studio;
import org.freehep.jas.services.DynamicClassLoader;
+import org.freehep.record.loop.LoopSourceExhaustedException;
import org.freehep.util.FreeHEPLookup;
import org.jdom.Attribute;
import org.jdom.Document;
@@ -166,6 +167,12 @@
logStream.println("Executed dry run. No events processed!");
}
}
+ // Record source exhausted before number of events was hit.
+ catch (LoopSourceExhaustedException x)
+ {
+ logStream.println(x.getMessage());
+ }
+ // Other exceptions.
catch (Exception x)
{
throw new RuntimeException(x);