From: <de...@us...> - 2004-03-30 10:45:28
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Include/SimData In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29740 Modified Files: cSimData.i Log Message: see CHANGES.current Index: cSimData.i =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/Include/SimData/cSimData.i,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** cSimData.i 14 Mar 2004 04:19:23 -0000 1.14 --- cSimData.i 30 Mar 2004 10:33:46 -0000 1.15 *************** *** 55,59 **** } ! %include "SimData/Exception.i" %include "SimData/HashUtility.i" %include "SimData/Conversions.i" --- 55,59 ---- } ! %include "SimData/ExceptionBase.i" %include "SimData/HashUtility.i" %include "SimData/Conversions.i" *************** *** 66,82 **** $action } catch (SIMDATA(PythonException) &e) { ! printf("SWIG: passing Python exception back\n"); ! e.details(); ! return NULL; } catch (SIMDATA(Exception) e) { ! printf("SWIG: caught a SimData Exception\n"); ! //e.details(); ! PyErr_SetString(PyExc_RuntimeError, e.getError().c_str()); ! return NULL; } catch (...) { ! printf("SWIG: passing C++ exception back\n"); ! PyErr_SetString(PyExc_RuntimeError, "Unknownn C++ exception"); ! return NULL; ! } } --- 66,82 ---- $action } catch (SIMDATA(PythonException) &e) { ! printf("SWIG: passing Python exception back\n"); ! e.details(); ! return NULL; } catch (SIMDATA(Exception) e) { ! printf("SWIG: caught a SimData Exception\n"); ! //e.details(); ! PyErr_SetString(PyExc_RuntimeError, e.getError().c_str()); ! return NULL; } catch (...) { ! printf("SWIG: passing C++ exception back\n"); ! PyErr_SetString(PyExc_RuntimeError, "Unknownn C++ exception"); ! return NULL; ! } } |