All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
exception.hh File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define CATCH_ALL_EXCEPTIONS()
 Catch all exceptions which may be sent when C++ code is called. More...
 

Macro Definition Documentation

#define CATCH_ALL_EXCEPTIONS ( )
Value:
catch (const std::exception& exc) \
{ \
PyErr_SetString(dgpyError, exc.what()); \
return NULL; \
} \
catch (const char* s) \
{ \
PyErr_SetString(dgpyError, s); \
return NULL; \
} catch (...) { \
PyErr_SetString(dgpyError, "Unknown exception"); \
return NULL; \
} struct e_n_d__w_i_t_h__s_e_m_i_c_o_l_o_n
PyObject * dgpyError
Definition: dynamic-graph-py.cc:88

Catch all exceptions which may be sent when C++ code is called.

Referenced by dynamicgraph::python::debug::addLoggerCoutOutputStream(), dynamicgraph::python::debug::addLoggerFileOutputStream(), dynamicgraph::python::debug::closeLoggerFileOutputStream(), dynamicgraph::python::entity::create(), dynamicgraph::python::signalBase::display(), dynamicgraph::python::signalBase::displayDependencies(), dynamicgraph::python::enableTrace(), dynamicgraph::python::entity::executeCommand(), dynamicgraph::python::signalBase::getClassName(), dynamicgraph::python::entity::getClassName(), dynamicgraph::python::pool::getEntityList(), dynamicgraph::python::entity::getLoggerVerbosityLevel(), dynamicgraph::python::signalBase::getName(), dynamicgraph::python::entity::getName(), dynamicgraph::python::signalBase::getPlugged(), dynamicgraph::python::signalBase::getPythonSignalContainer(), dynamicgraph::python::entity::getSignal(), dynamicgraph::python::entity::getStreamPrintPeriod(), dynamicgraph::python::entity::getTimeSample(), dynamicgraph::python::signalBase::getValue(), dynamicgraph::python::entity::hasSignal(), dynamicgraph::python::signalBase::isPlugged(), dynamicgraph::python::entity::listSignals(), dynamicgraph::python::plug(), dynamicgraph::python::debug::realTimeLoggerDestroy(), dynamicgraph::python::debug::realTimeLoggerInstance(), dynamicgraph::python::debug::realTimeLoggerSpinOnce(), dynamicgraph::python::signalBase::recompute(), dynamicgraph::python::signalBase::setValue(), dynamicgraph::python::signalBase::unplug(), and dynamicgraph::python::pool::writeGraph().