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