1 |
|
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 |
#if !defined esysUtils_esysExceptionTranslator_20040419_H |
17 |
#define esysUtils_esysExceptionTranslator_20040419_H |
18 |
#include "system_dep.h" |
19 |
|
20 |
#include "EsysException.h" |
21 |
|
22 |
#include "boost/python/errors.hpp" |
23 |
|
24 |
#include <iostream> |
25 |
|
26 |
namespace esysUtils { |
27 |
/** |
28 |
\brief |
29 |
Function which translates an EsysException into a python exception |
30 |
*/ |
31 |
void esysExceptionTranslator(EsysException const& e); |
32 |
} // end of namespace |
33 |
|
34 |
#endif |