X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fcommon%2Fexceptions%2FInternalCompilerError.java;h=71b6193015b1b4aafb8d9e0cc226131a0f7f928b;hb=bf5f7cda1b9b64484cc6e53499e38d6785744aec;hp=ae3bdd87ca368ed06cddf8c42f209ea339c63b1f;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/common/exceptions/InternalCompilerError.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/common/exceptions/InternalCompilerError.java index ae3bdd87c..71b619301 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/common/exceptions/InternalCompilerError.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/common/exceptions/InternalCompilerError.java @@ -31,5 +31,10 @@ public class InternalCompilerError extends RuntimeException { super(cause); this.location = Locations.NO_LOCATION; } + + public InternalCompilerError(long location, Throwable cause) { + super(cause); + this.location = location; + } }