1 |
jgs |
82 |
/* |
2 |
elspeth |
644 |
************************************************************ |
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 |
jgs |
82 |
*/ |
12 |
|
|
|
13 |
|
|
#if !defined esysUtils_esysExceptionTranslator_20040419_H |
14 |
|
|
#define esysUtils_esysExceptionTranslator_20040419_H |
15 |
woo409 |
757 |
#include "system_dep.h" |
16 |
jgs |
82 |
|
17 |
jgs |
468 |
#include "EsysException.h" |
18 |
|
|
|
19 |
jgs |
82 |
#include "boost/python/errors.hpp" |
20 |
|
|
|
21 |
jgs |
468 |
#include <iostream> |
22 |
|
|
|
23 |
jgs |
82 |
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 |
jgs |
468 |
|
31 |
jgs |
82 |
#endif |