aXaoGroup->add(anElementID);
}
} catch (XAO::XAO_Exception& e) {
+ // LCOV_EXCL_START
std::string msg = "An error occurred while exporting group " + aResultGroup->data()->name();
msg += ".\n";
msg += e.what();
msg += "=> skipping this group from XAO export.";
Events_InfoMessage("ExportFeature", msg, this).send();
aXao.removeGroup(aXaoGroup);
+ // LCOV_EXCL_STOP
}
}
}
}
} catch (XAO::XAO_Exception& e) {
+ // LCOV_EXCL_START
std::string msg = "An error occurred while exporting field " + aResultField->data()->name();
msg += ".\n";
msg += e.what();
msg += "=> skipping this field from XAO export.";
Events_InfoMessage("ExportFeature", msg, this).send();
aXao.removeField(aXaoField);
+ // LCOV_EXCL_STOP
}
}