X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FStandardProceduralChildVariable.java;h=f133adee02e3c783b7e7fe5b8dc12ef93a6a4d5a;hp=a5b50f6f36bc5dc7f1368ff0acc80d9ea4a46e23;hb=bc5e6cb19f6af5f67bc5cfaad7d602841b8fdd0b;hpb=91682baa9a8252390f09b80fd724f47e5957b234 diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java index a5b50f6f3..f133adee0 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java @@ -271,7 +271,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { public Resource getType(ReadGraph graph, Resource baseType) throws DatabaseException { if (graph.isInheritedFrom(type, baseType)) return type; - throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type"); + throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type", -1); } @Override