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;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fcommon%2Fexceptions%2FInternalCompilerError.java;h=a3b64613428c465168cb210211ef19010e8570cf;hp=1c2709665765562067f185a96bff6ece7243b17a;hb=15a0f229f7340ed92e9157049483ed71f54677f9;hpb=db1eda83343fd8d26d6d6c340e70fc0e663d8808 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 1c2709665..a3b646134 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 @@ -22,6 +22,11 @@ public class InternalCompilerError extends RuntimeException { this.location = Locations.NO_LOCATION; } + public InternalCompilerError(String message, Throwable cause) { + super(message, cause); + this.location = Locations.NO_LOCATION; + } + public InternalCompilerError(long location, String message) { super(message); this.location = location;