Skip to content

Commit

Permalink
MVD 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkioraskari committed Oct 1, 2021
1 parent 7c25020 commit 8a7a22a
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public IfcHashMapBuilder(Object ifcObject, List<AttributeRule> attributeRules, I
this.hashMaps.add(enrichHashMap(hM));
} catch (ClassNotFoundException e) {
communication.post(new CheckerNotificationEvent("The Java class was not found. Is the spelling correct in mvdXML ? "));
e.printStackTrace();
}

}
Expand Down Expand Up @@ -162,8 +161,9 @@ private Object getAttributeValue(Object ifcObject, String attributeName) {
value = null;
}
} catch (NoSuchMethodException | SecurityException e) {
communication.post(new CheckerErrorEvent(this.getClass().getName(), e.getMessage()));
e.printStackTrace();
//communication.post(new CheckerErrorEvent(this.getClass().getName(), e.getMessage()));
communication.post(new CheckerErrorEvent("Attribute defined in mvdXML ConceptTemplate does not exist in IFC: ", e.getMessage()));
//e.printStackTrace();
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
communication.post(new CheckerErrorEvent(this.getClass().getName(), e.getMessage()));
e.printStackTrace();
Expand Down Expand Up @@ -201,7 +201,6 @@ private HashMap<AbstractRule, ObjectToValue> enrichHashMap(HashMap<AttributeRule
}
} catch (ClassNotFoundException e) {
communication.post(new CheckerNotificationEvent( "The IFC Java class for "+entityName+" was not found. Is the spelling correct in mvdXML ?"));
e.printStackTrace();
}
}
} else {
Expand All @@ -212,7 +211,6 @@ private HashMap<AbstractRule, ObjectToValue> enrichHashMap(HashMap<AttributeRule
}
} catch (ClassNotFoundException e) {
communication.post(new CheckerNotificationEvent("The IFC Java class for "+entityName+" was not found. Is the spelling correct in mvdXML ?"));
e.printStackTrace();
}
}
}
Expand Down
Loading

0 comments on commit 8a7a22a

Please sign in to comment.