]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Improved exception message 60/1360/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 8 Jan 2018 11:01:00 +0000 (13:01 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 8 Jan 2018 11:01:00 +0000 (13:01 +0200)
refs #7422

Change-Id: I5179ed29a7b660f4574101f5358820a860e66c72

bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java

index 9a819635463a8703651465c312bc688b3622326f..5472ccfd61918ee6fb5932e75eaec6a349138bde 100644 (file)
@@ -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();