}
   private void checkName(String name)   {      if (name == null)         throw new IllegalArgumentException("Name must not be null.");      if (name.equals(""))         throw new IllegalArgumentException("Name must not be an empty String.");   }