1 |
/* |
2 |
****************************************************************************** |
3 |
* * |
4 |
* COPYRIGHT ACcESS 2004 - All Rights Reserved * |
5 |
* * |
6 |
* This software is the property of ACcESS. No part of this code * |
7 |
* may be copied in any form or by any means without the expressed written * |
8 |
* consent of ACcESS. Copying, use or modification of this software * |
9 |
* by any unauthorised person is illegal unless that person has a software * |
10 |
* license agreement with ACcESS. * |
11 |
* * |
12 |
****************************************************************************** |
13 |
*/ |
14 |
|
15 |
#if !defined esysUtils_esysExceptionTranslator_20040419_H |
16 |
#define esysUtils_esysExceptionTranslator_20040419_H |
17 |
|
18 |
#include "esysUtils/EsysException.h" |
19 |
#include "boost/python/errors.hpp" |
20 |
|
21 |
namespace esysUtils { |
22 |
/** |
23 |
\brief |
24 |
Function which translates an EsysException into a python exception |
25 |
*/ |
26 |
void esysExceptionTranslator(EsysException const& e); |
27 |
} // end of namespace |
28 |
#endif |