public void addRoom(Room room) {
    if (room == null) {
      throw new NullObjectInsertionException();
    }

    if (existRoom(room)) {
      throw new DuplicateInsertionException();
    }
    rooms.add(room);
  }