Skip to content

Commit

Permalink
Improved error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse committed Oct 25, 2024
1 parent 1b0a67d commit be73bab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ private static void collateProperties(OntologyGraph graph, String destProp, Coll
if (value.getType() == PropertyValue.Type.LITERAL ) {
listOfValues.add((PropertyValueLiteral) value);
} else
throw new RuntimeException("Unexpected PropertyValue type = " + value.getType());
throw new RuntimeException("Unexpected PropertyValue type = " + value.getType() + " for "
+ c.uri + " ontology " + graph.config.get("ontology_purl"));
}
}
}
Expand Down

0 comments on commit be73bab

Please sign in to comment.