public void declineContract(int store, string username, int sessionID) { 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.declineContract(store, username, sessionID); }