code: protected final void registerSession( AbstractSession sessionToAdd )
      {
      	if (sessions.put(sessionToAdd.getId(),sessionToAdd) != null)
      		throw new IllegalArgumentException("Session "+sessionToAdd.getId()+" already exists");
      }
docs: Register a session