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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (14 years, 6 months ago) by ksteube
File size: 669 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #include "system_dep.h"
16 #include "esysExceptionTranslator.h"
17 #include <iostream>
18
19 using namespace std;
20
21 namespace esysUtils {
22
23 void esysExceptionTranslator(EsysException const& e)
24 {
25 PyErr_SetString(PyExc_RuntimeError,e.what());
26 }
27
28 } // end of namespace

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26