1 |
/* |
2 |
************************************************************ |
3 |
* Copyright 2006 by ACcESS MNRF * |
4 |
* * |
5 |
* http://www.access.edu.au * |
6 |
* Primary Business: Queensland, Australia * |
7 |
* Licensed under the Open Software License version 3.0 * |
8 |
* http://www.opensource.org/licenses/osl-3.0.php * |
9 |
* * |
10 |
************************************************************ |
11 |
*/ |
12 |
|
13 |
#if !defined esysUtils_esysExceptionTranslator_20040419_H |
14 |
#define esysUtils_esysExceptionTranslator_20040419_H |
15 |
#include "system_dep.h" |
16 |
|
17 |
#include "EsysException.h" |
18 |
|
19 |
#include "boost/python/errors.hpp" |
20 |
|
21 |
#include <iostream> |
22 |
|
23 |
namespace esysUtils { |
24 |
/** |
25 |
\brief |
26 |
Function which translates an EsysException into a python exception |
27 |
*/ |
28 |
void esysExceptionTranslator(EsysException const& e); |
29 |
} // end of namespace |
30 |
|
31 |
#endif |