2#include <structmember.h> 
    7#include <boost/python.hpp> 
   10namespace py = boost::python;
 
   12namespace ExceptionTranslation {
 
   18    PyErr_SetString(PyExc_RuntimeError, exception.what());
 
   23    std::string msg = exception.what()+
" in C++ method "+exception.where();
 
   24    PyErr_SetString(PyExc_RuntimeError, msg.c_str());
 
void translateOpalException(T const &exception)
void registerExceptions()
void translateException(T const &exception)