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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1385 - (hide annotations)
Fri Jan 11 07:33:30 2008 UTC (13 years, 3 months ago) by trankine
File size: 733 byte(s)
This is a commit to the trunk of the current windows version undergoing debugging.
This trunk will shortly be moved to the branches area
of the repository, and the saved trunk version currently over in branches restored to the trunk.

Second try after resolving a conflict.
1 ksteube 1312
2     /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 woo409 757 #include "system_dep.h"
17 jgs 468 #include "esysExceptionTranslator.h"
18 gross 727 #include <iostream>
19 jgs 82
20     using namespace std;
21    
22     namespace esysUtils {
23    
24 trankine 1385 void esysExceptionTranslator(const EsysException & e)
25 jgs 82 {
26 trankine 1385 cout << "translated!\n";
27 gross 727 PyErr_SetString(PyExc_RuntimeError,e.what());
28 jgs 82 }
29    
30     } // end of namespace

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26