Py::Exception Class Reference

#include <Exception.hxx>

Inheritance diagram for Py::Exception:
Py::StandardError Py::ArithmeticError Py::AttributeError Py::EnvironmentError Py::LookupError Py::MemoryError Py::NameError Py::RuntimeError Py::SystemError Py::SystemExit Py::TypeError Py::ValueError

List of all members.

Public Member Functions

void clear ()
 Exception (PyObject *exception, Object &reason)
 Exception (PyObject *exception, const std::string &reason)
 Exception (const std::string &reason)
 Exception ()
 Exception (ExtensionExceptionType &exception, Object &reason)
 Exception (ExtensionExceptionType &exception, const std::string &reason)

Detailed Description

Definition at line 56 of file Python2/Exception.hxx.


Constructor & Destructor Documentation

Py::Exception::Exception ( ExtensionExceptionType exception,
const std::string &  reason 
)

Definition at line 1888 of file Python2/cxx_extensions.cxx.

References Py::Object::ptr().

Py::Exception::Exception ( ExtensionExceptionType exception,
Object reason 
)

Definition at line 1893 of file Python2/cxx_extensions.cxx.

References Py::Object::ptr().

Py::Exception::Exception (  )  [inline, explicit]

Definition at line 62 of file Python2/Exception.hxx.

Py::Exception::Exception ( const std::string &  reason  )  [inline]

Definition at line 65 of file Python2/Exception.hxx.

References Py::_Exc_RuntimeError().

Py::Exception::Exception ( PyObject exception,
const std::string &  reason 
) [inline]

Definition at line 70 of file Python2/Exception.hxx.

Py::Exception::Exception ( PyObject exception,
Object reason 
)

Definition at line 1898 of file Python2/cxx_extensions.cxx.

References Py::Object::ptr().


Member Function Documentation

void Py::Exception::clear (  )  [inline]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:43 2011 for FreeCAD by  doxygen 1.6.1