/[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 468 by jgs, Wed Jan 25 06:50:39 2006 UTC revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC
# Line 11  Line 11 
11   *                                                                            *   *                                                                            *
12   ******************************************************************************   ******************************************************************************
13  */  */
14    #include "system_dep.h"
15  #include "esysExceptionTranslator.h"  #include "esysExceptionTranslator.h"
16    #include <iostream>
17    
18  using namespace std;  using namespace std;
19    
20  namespace esysUtils {  namespace esysUtils {
21    
22    void esysExceptionTranslator(EsysException const& e)  void esysExceptionTranslator(EsysException const& e)
23    {    {
24      PyErr_SetString(PyExc_StandardError,e.what());      PyErr_SetString(PyExc_RuntimeError,e.what());
25    }    }
26    
27  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.468  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.26