org.python.core
public class PyException extends RuntimeException
type
field and value or class instance is stored
in the value
field.
Field Summary | |
---|---|
PyTraceback | traceback |
PyObject | type
The python exception class (for class exception) or
identifier (for string exception). |
PyObject | value
The exception instance (for class exception) or exception
value (for string exception). |
Constructor Summary | |
---|---|
PyException() | |
PyException(PyObject type) | |
PyException(PyObject type, PyObject value) | |
PyException(PyObject type, String value) | |
PyException(PyObject type, PyObject value, PyTraceback traceback) |
Method Summary | |
---|---|
void | instantiate() |
void | printStackTrace() |
void | printStackTrace(PrintStream s) |
void | super__printStackTrace(PrintWriter w) |
String | toString() |