Changeset 13365
- Timestamp:
- 09/13/12 14:01:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/python/include/python_macros.h
r13363 r13365 30 30 catch(ErrorException &exception){\ 31 31 PyErr_SetString(PyExc_TypeError,"ISSM Error"); \ 32 return NULL;\ 32 33 } \ 33 34 catch (exception &e){\ 34 35 PyErr_SetString(PyExc_TypeError,exprintf("Standard exception: %s\n",e.what()));\ 36 return NULL;\ 35 37 }\ 36 38 catch(...){\ 37 39 PyErr_SetString(PyExc_TypeError,"An unexpected error occurred");\ 40 return NULL;\ 38 41 }\ 39 42 return output;
Note:
See TracChangeset
for help on using the changeset viewer.