if (ms < 0 || ms > 60000) throw new IllegalArgumentException();
if (ms <= 0 || ms >= 60000) throw new IllegalArgumentException ("Robot: delay length out-of-bounds");
  public void setAutoDelay(int ms)  {    if (ms < 0 || ms > 60000)      throw new IllegalArgumentException();        autoDelay = ms;  }