From a22c5a8681859b6518017f3ad2be7e9319a6695e Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Thu, 30 Aug 2018 08:19:13 +0300 Subject: [PATCH] Restored MissingVariableException (String) constructor The previous change to this caused needless breakage with little gain. gitlab #92 Change-Id: Ic7825a5bfdbcbe8438f70501eebd26c82d733bd7 --- .../db/layer0/exception/MissingVariableException.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/exception/MissingVariableException.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/exception/MissingVariableException.java index 90be7c061..db3d71a06 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/exception/MissingVariableException.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/exception/MissingVariableException.java @@ -20,6 +20,11 @@ public class MissingVariableException extends VariableException { private final Resource resource; + public MissingVariableException(String message) { + super(message); + this.resource = null; + } + public MissingVariableException(String message, Resource resource) { super(message + " " + String.valueOf(resource)); this.resource = resource; -- 2.47.1