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);
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>();