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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2548 - (show annotations)
Mon Jul 20 06:20:06 2009 UTC (11 years, 9 months ago) by jfenwick
File size: 669 byte(s)
Updating copyright notices
1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2009 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