Defines | |
#define | CATCH_ALL_EXCEPTIONS() |
Catch all exceptions which may be sent when C++ code is called. |
#define CATCH_ALL_EXCEPTIONS | ( | ) |
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
Catch all exceptions which may be sent when C++ code is called.
Referenced by 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::pool::getEntityList(), dynamicgraph::python::signalBase::getName(), dynamicgraph::python::entity::getName(), dynamicgraph::python::signalBase::getPlugged(), dynamicgraph::python::entity::getSignal(), dynamicgraph::python::signalBase::getValue(), dynamicgraph::python::entity::hasSignal(), dynamicgraph::python::signalBase::isPlugged(), dynamicgraph::python::entity::listSignals(), dynamicgraph::python::plug(), dynamicgraph::python::signalBase::recompute(), dynamicgraph::python::signalBase::setValue(), dynamicgraph::python::signalBase::unplug(), and dynamicgraph::python::pool::writeGraph().