ROOT logo
ROOT » BINDINGS » PYROOT » PyROOT::TPyException

class PyROOT::TPyException: public exception

                 C++ exception for throwing python exceptions

 Purpose: A C++ exception class for throwing python exceptions
          through C++ code.
 Created: Apr, 2004, sss, from the version in D0's python_util.

 Note: Don't be tempted to declare the virtual functions defined here
       as inline.
       If you do, you may not be able to properly throw these
       exceptions across shared libraries.

Function Members (Methods)

public:
virtual~TPyException()
static TClass*Class()
virtual TClass*IsA() const
PyROOT::TPyException&operator=(const PyROOT::TPyException&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
PyROOT::TPyExceptionTPyException()
PyROOT::TPyExceptionTPyException(const PyROOT::TPyException&)
virtual const char*what() const

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TPyException()
 default constructor
~TPyException()
 destructor
const char* what() const
 Return reason for throwing this exception: a python exception was raised.
TPyException()
 default constructor