Class PyException

  • All Implemented Interfaces:
    Serializable

    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>".

    See Also:
    Serialized Form
    • Constructor Detail

      • PyException

        public PyException()
      • PyException

        public PyException​(String s)
      • PyException

        public PyException​(Throwable throwable)