707172737475767778
{ throw new InvalidIdentifierException("cannot insert Account with null userId"); } if (checkAccountExists(userId)) throw new AccountAlreadyExistsException("attempted to insert Account with duplicate userId: "+userId); doInsertAccount(account); }