/[escript]/tags/trunk_2172_checkpoint/esysUtils/src/esysExceptionTranslator.cpp
ViewVC logotype

Contents of /tags/trunk_2172_checkpoint/esysUtils/src/esysExceptionTranslator.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2175 - (show annotations)
Wed Dec 17 09:22:40 2008 UTC (12 years, 2 months ago) by phornby
File size: 669 byte(s)
Try again at conforming to naming convention.
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