X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fcommon%2Fexceptions%2FInternalCompilerError.java;h=71b6193015b1b4aafb8d9e0cc226131a0f7f928b;hp=ae3bdd87ca368ed06cddf8c42f209ea339c63b1f;hb=78f577368ba4c71ad6fb3d9f16c03c634585cf7b;hpb=a88529426319d66aa668882d767efb3f58a1a629 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; + } }