From: Tuukka Lehtonen Date: Mon, 8 Jan 2018 11:01:00 +0000 (+0200) Subject: Improved exception message X-Git-Tag: v1.43.0~136^2~631 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F1360%2F1;p=simantics%2Fplatform.git Improved exception message refs #7422 Change-Id: I5179ed29a7b660f4574101f5358820a860e66c72 --- diff --git a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java index 9a8196354..5472ccfd6 100644 --- a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java +++ b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java @@ -347,7 +347,7 @@ public class StreamingTransferableGraphImportProcess implements TransferableGrap Resource parent = resolvedParents.get(parts[0]); // TODO: proper exception message if(parent == null) { - throw new IllegalStateException("!!"); + throw new IllegalStateException("Missing URI: " + uri); } Resource childResource = graph.newResource();