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