]> gerrit.simantics Code Review - simantics/python.git/blobdiff - org.simantics.pythonlink.win32.x86_64/src/sclpy.h
Get Python traceback output in the messages of exceptions from the pythonlink feature.
[simantics/python.git] / org.simantics.pythonlink.win32.x86_64 / src / sclpy.h
index 4a2c7de919bcd90700bb9f17f968b7db8c3ff726..4032d4854512fb27fa18008e6a1c23b894140e63 100644 (file)
@@ -27,7 +27,7 @@
 \r
 #define JAVA_MAXINT (0x7fffffff)\r
 \r
-#define RUNTIME_EXCEPTION "java/lang/RuntimeException"\r
+#define PYTHON_EXCEPTION "org/simantics/pythonlink/PythonException"\r
 #define ILLEGAL_ARGUMENT_EXCEPTION "java/lang/IllegalArgumentException"\r
 #define OBJECT_CLASS "java/lang/Object"\r
 #define STRING_CLASS "java/lang/String"\r