]> gerrit.simantics Code Review - simantics/python.git/blobdiff - org.simantics.pythonlink/src/org/simantics/pythonlink/PythonException.java
Get Python traceback output in the messages of exceptions from the pythonlink feature.
[simantics/python.git] / org.simantics.pythonlink / src / org / simantics / pythonlink / PythonException.java
diff --git a/org.simantics.pythonlink/src/org/simantics/pythonlink/PythonException.java b/org.simantics.pythonlink/src/org/simantics/pythonlink/PythonException.java
new file mode 100644 (file)
index 0000000..7c4d2a5
--- /dev/null
@@ -0,0 +1,21 @@
+package org.simantics.pythonlink;\r
+\r
+public class PythonException extends RuntimeException {\r
+       private static final long serialVersionUID = 3015300166106850889L;\r
+       \r
+       public PythonException() {\r
+               super();\r
+       }\r
+       \r
+       public PythonException(String message) {\r
+               super(message);\r
+       }\r
+       \r
+       public PythonException(String message, Throwable cause) {\r
+               super(message, cause);\r
+       }\r
+       \r
+       public PythonException(Throwable cause) {\r
+               super(cause);\r
+       }\r
+}\r