From 57c29bd63a1c2b5c4608c4848ad2c06ce4bd7081 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Mon, 8 Jan 2018 13:01:00 +0200 Subject: [PATCH] Improved exception message refs #7422 Change-Id: I5179ed29a7b660f4574101f5358820a860e66c72 --- .../graph/db/StreamingTransferableGraphImportProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.43.2