return createUser( session, tenant, userName, password, description, roles );
}
} );
} catch ( DataAccessException e ) {
if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof AuthorizableExistsException ) ) {
throw new AlreadyExistsException( "" );
}
throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
"JcrUserRoleDao.ERROR_0003_CREATING_USER", e.getLocalizedMessage() ), e );
}
return user;