/[escript]/trunk/esysUtils/src/esysExceptionTranslator.cpp
ViewVC logotype

Diff of /trunk/esysUtils/src/esysExceptionTranslator.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1384 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 1385 by trankine, Fri Jan 11 07:33:30 2008 UTC
# Line 21  using namespace std; Line 21  using namespace std;
21    
22  namespace esysUtils {  namespace esysUtils {
23    
24  void esysExceptionTranslator(EsysException const& e)  void esysExceptionTranslator(const EsysException & e)
25    {    {
26          cout << "translated!\n";
27      PyErr_SetString(PyExc_RuntimeError,e.what());      PyErr_SetString(PyExc_RuntimeError,e.what());
28    }    }
29    

Legend:
Removed from v.1384  
changed lines
  Added in v.1385

  ViewVC Help
Powered by ViewVC 1.1.26