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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations)
Tue Oct 26 06:53:54 2004 UTC (18 years, 5 months ago) by jgs
Original Path: trunk/esys2/esysUtils/src/esysExceptionTranslator.cpp
File size: 1141 byte(s)
Initial revision

1 /*
2 ******************************************************************************
3 * *
4 * COPYRIGHT ACcESS 2004 - All Rights Reserved *
5 * *
6 * This software is the property of ACcESS. No part of this code *
7 * may be copied in any form or by any means without the expressed written *
8 * consent of ACcESS. Copying, use or modification of this software *
9 * by any unauthorised person is illegal unless that person has a software *
10 * license agreement with ACcESS. *
11 * *
12 ******************************************************************************
13 */
14
15 #include "esysUtils/esysExceptionTranslator.h"
16
17 #include <iostream>
18
19 using namespace std;
20
21 namespace esysUtils {
22
23 void esysExceptionTranslator(EsysException const& e)
24 {
25 PyErr_SetString(PyExc_StandardError,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