Class PythonException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PythonException
    extends java.lang.RuntimeException
    Exception thrown that represents a certain Python exception.
    Author:
    Irmen de Jong (irmen@razorvine.net)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PythonException()  
      PythonException​(java.lang.String message)  
      PythonException​(java.lang.String encoding, byte[] data, java.lang.Integer i1, java.lang.Integer i2, java.lang.String message)  
      PythonException​(java.lang.String message, java.lang.Throwable cause)  
      PythonException​(java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void __setstate__​(java.util.HashMap<java.lang.String,​java.lang.Object> args)
      called by the unpickler to restore state
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _pyroTraceback

        public java.lang.String _pyroTraceback
      • pythonExceptionType

        public java.lang.String pythonExceptionType
    • Constructor Detail

      • PythonException

        public PythonException​(java.lang.String message,
                               java.lang.Throwable cause)
      • PythonException

        public PythonException​(java.lang.String message)
      • PythonException

        public PythonException​(java.lang.Throwable cause)
      • PythonException

        public PythonException()
      • PythonException

        public PythonException​(java.lang.String encoding,
                               byte[] data,
                               java.lang.Integer i1,
                               java.lang.Integer i2,
                               java.lang.String message)
    • Method Detail

      • __setstate__

        public void __setstate__​(java.util.HashMap<java.lang.String,​java.lang.Object> args)
        called by the unpickler to restore state