]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/exceptions/SCLSyntaxErrorException.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / parsing / exceptions / SCLSyntaxErrorException.java
diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/exceptions/SCLSyntaxErrorException.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/exceptions/SCLSyntaxErrorException.java
new file mode 100644 (file)
index 0000000..08e48c4
--- /dev/null
@@ -0,0 +1,16 @@
+package org.simantics.scl.compiler.internal.parsing.exceptions;\r
+\r
+\r
+\r
+public class SCLSyntaxErrorException extends RuntimeException {\r
+\r
+    private static final long serialVersionUID = -3346141636177900501L;\r
+\r
+    public long location;\r
+    \r
+    public SCLSyntaxErrorException(long location, String description) {\r
+        super(description);\r
+        this.location = location;\r
+    }\r
+\r
+}\r