public class PyException extends RuntimeException
An exception propagating from Python to Java.
If the exception originated from Java, the original exception object can be retrieved by calling getCause
.
getStackTrace
will return a combined Python and Java stack trace, with Python frames indicated by a package name starting “<python>”.
Constructor and Description |
---|
PyException() |
PyException(String s) |
PyException(String s,
Throwable throwable) |
PyException(Throwable throwable) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString