Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/TransformationException.java')
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/TransformationException.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/TransformationException.java b/plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/TransformationException.java
new file mode 100644
index 00000000..bffd7ae4
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/TransformationException.java
@@ -0,0 +1,20 @@
+package org.eclipse.xpand3.parser.node2ast;
+
+import org.eclipse.tmf.common.node.Node;
+
+public class TransformationException extends RuntimeException {
+
+ private Node node;
+
+ public TransformationException(String string, Node node) {
+ super(string);
+ this.node = node;
+ }
+
+ public Node getNode() {
+ return node;
+ }
+
+ private static final long serialVersionUID = 23478901L;
+
+}

Back to the top