535536537538539540541542543544545
try { User user = UserUtil.findByPrimaryKey(userId); if (user != null) { throw new DuplicateUserIdException(); } } catch (NoSuchUserException nsue) { }