library: libPyROOT #include "TPyException.h"

# PyROOT::TPyException

class description - source file - inheritance tree (.pdf)

## class PyROOT::TPyException : public exception

| Inheritance Chart:

`exception`

<-

`PyROOT::TPyException`

        public:

           PyROOT::TPyException TPyException()
           PyROOT::TPyException TPyException(const PyROOT::TPyException&)
                   virtual void ~TPyException()
                 static TClass* Class()
                virtual TClass* IsA() const
          PyROOT::TPyException& operator=(const PyROOT::TPyException&)
                   virtual void ShowMembers(TMemberInspector& insp, char* parent)
                   virtual void Streamer(TBuffer& b)
                           void StreamerNVirtual(TBuffer& b)
            virtual const char* what() const

### Data Members

## Class Description

                     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.

TPyException()

     default constructor

~TPyException() throw()

     destructor

const char* what() const throw()

     Return reason for throwing this exception: a python exception was raised.

### Inline Functions

                          TClass* Class()
                          TClass* IsA() const
                             void ShowMembers(TMemberInspector& insp, char* parent)
                             void Streamer(TBuffer& b)
                             void StreamerNVirtual(TBuffer& b)
             PyROOT::TPyException TPyException(const PyROOT::TPyException&)
            PyROOT::TPyException& operator=(const PyROOT::TPyException&)

Author: Scott Snyder, Apr 2004
Last update: root/pyroot:$Name: $:$Id: TPyException.cxx,v 1.2 2005/05/06 10:08:53 brun Exp $