/** get a constant associated with a ship; returns null if none found */
public BitVector getConstant(String constantName) {
- return null;
+ throw new RuntimeException("unknown constant \""+constantName+"\" on ship " + this);
}
public String toString() {