removed throw lines and adds returns in ItemGroup::setItemGroupType.