]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ConstantChildVariable.java
Ignore NoSingleResultException in DependenciesRelation
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / ConstantChildVariable.java
index f5bdd79360644e5b291a07bc7eff19fce1a90ab6..918101fe25d9deef50ad5231192c465630d0a9e2 100644 (file)
@@ -125,7 +125,7 @@ public class ConstantChildVariable extends AbstractChildVariable {
        Resource type = getPossibleType(graph, baseType);
        if (type != null)
                return type;
-       throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type");
+       throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type", -1);
     }
 
     @Override