more pump=>dock renaming
authormegacz <adam@megacz.com>
Thu, 8 Jan 2009 09:39:57 +0000 (01:39 -0800)
committermegacz <adam@megacz.com>
Thu, 8 Jan 2009 09:39:57 +0000 (01:39 -0800)
src/edu/berkeley/fleet/assembler/Parser.java

index 6adb24c..57a557d 100644 (file)
@@ -250,7 +250,7 @@ public class Parser {
                 bb = b;
             }
         if (bb==null)
-            throw new RuntimeException("no such pump \""+portName+"\"");
+            throw new RuntimeException("no such dock \""+portName+"\"");
         if (t.size() >= 3) {
             if (":i".equals(t.child(2).head())) return dock.getPath(bb.getInstructionDestination(),SIGNAL_ZERO);
             if (":1".equals(t.child(2).head())) return dock.getPath(bb.getDataDestination(),SIGNAL_ONE);
@@ -270,7 +270,7 @@ public class Parser {
         for(Dock b : ship)
             if (b.getName().equals(portName))
                 return b;
-        throw new RuntimeException("no such pump \""+portName+"\"");
+        throw new RuntimeException("no such dock \""+portName+"\"");
     }
 
     private HashMap<String,Integer> numAllocated = new HashMap<String,Integer>();