public void updataUser(User user) {
        Assert.assertNotNull(user);
        try {
            UserDO UserDo = modelToDo(user);
            if (userDao.chackUnique(UserDo)) {
                userDao.updateUser(UserDo);
            } else {
                String exceptionCause = "exist the same name user in the database.";
                logger.warn("WARN ## " + exceptionCause);
                throw new RepeatConfigureException(exceptionCause);
            }
        } catch (RepeatConfigureException rce) {
            throw rce;
        } catch (Exception e) {
            logger.error("ERROR ## create user has an exception!");
            throw new ManagerException(e);
        }
    }
TODO Comment of UserServiceImpl

@author simon
manager/biz/src/main/java/com/alibaba/otter/manager/biz/user/impl/UserServiceImpl.java