Print

Print


Commit in lcsim/src/org/lcsim/job on MAIN
JobControlManager.java+5-21.52 -> 1.53

lcsim/src/org/lcsim/job
JobControlManager.java 1.52 -> 1.53
diff -u -r1.52 -r1.53
--- JobControlManager.java	14 Apr 2011 05:05:07 -0000	1.52
+++ JobControlManager.java	13 Feb 2012 22:18:35 -0000	1.53
@@ -79,7 +79,7 @@
  * which it should be discarded.  If the {@link #run()} method is called twice on 
  * the same manager, a fatal exception will be thrown.
  *   
- * @version $Id: JobControlManager.java,v 1.52 2011/04/14 05:05:07 grefe Exp $
+ * @version $Id: JobControlManager.java,v 1.53 2012/02/13 22:18:35 jeremy Exp $
  * @author Jeremy McCormick
  */
 public class JobControlManager
@@ -550,7 +550,10 @@
      * @param doc The lcsim recon XML document describing the job.
      */
     private void setup(Document doc)
-    {               
+    {  
+        if (wasSetup)
+            throw new RuntimeException("Setup was already called!");
+        
         // Set the root element.
         root = doc.getRootElement();
         
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1