public void addOwner(int store, string username, int session) { if (store < 0) { throw new ILLArgumentException("illegal store number"); } if (username == null) { throw new ArgumentNullException("null username"); } if (username.Length == 0) { throw new ILLArgumentException("illegal username"); } db.addPendingOwner(store, username, session); }