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