/[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

trunk/esys2/esysUtils/src/esysExceptionTranslator.cpp revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC trunk/esysUtils/src/esysExceptionTranslator.cpp revision 727 by gross, Fri May 12 06:31:06 2006 UTC
# Line 12  Line 12 
12   ******************************************************************************   ******************************************************************************
13  */  */
14    
15  #include "esysUtils/esysExceptionTranslator.h"  #include "esysExceptionTranslator.h"
   
16  #include <iostream>  #include <iostream>
17    
18  using namespace std;  using namespace std;
# Line 22  namespace esysUtils { Line 21  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.82  
changed lines
  Added in v.727

  ViewVC Help
Powered by ViewVC 1.1.26