public class PyException extends RuntimeException
An exception thrown 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,
where Python frames will have 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