user.setRoles(roleManager.getRolesByUserId(userId));
}
catch( NoSuchRoleException noRoleEx )
{
Logger.error("\n Couldn't set full roles list for user... \n", noRoleEx);
throw new NoSuchRoleException("Couldn't find full roles list");
}
catch( NoUserRolesException noRoleEx )
{
Logger.error("\n Couldn't find roles for user... \n", noRoleEx);
}