// ignored
LOG.debug("Cannot create structural element " + docStructType + " as child of "
+ (logicalNode.getType() != null ? logicalNode.getType().getName() : "without type")
+ " because it isn’t allowed by the rule set.");
} catch (TypeNotAllowedForParentException e) {
throw new UnreachableCodeException("TypeNotAllowedForParentException is never thrown"); // see https://github.com/goobi/goobi-ugh/issues/2
} catch (Exception e) {
// copy rule failed, skip it
LOG.debug(
"Cannot create structural element " + docStructType + " as child of "
+ (logicalNode.getType() != null ? logicalNode.getType().getName() : "without type")