/[escript]/trunk/esysUtils/src/esysExceptionTranslator.h
ViewVC logotype

Contents of /trunk/esysUtils/src/esysExceptionTranslator.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4821 - (show annotations)
Tue Apr 1 04:58:33 2014 UTC (5 years, 4 months ago) by sshaw
File MIME type: text/plain
File size: 1209 byte(s)
moved SolverOptions to c++, split into SolverOptions for the options and SolverBuddy as the state as a precursor to per-pde solving... does break some use cases (e.g. pde.getSolverOptions().DIRECT will now fail, new value access is with SolverOptions.DIRECT), examples and documentation updated to match
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2014 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16
17
18 #if !defined esysUtils_esysExceptionTranslator_20040419_H
19 #define esysUtils_esysExceptionTranslator_20040419_H
20 #include "system_dep.h"
21
22 #include "EsysException.h"
23
24 #include "boost/python/errors.hpp"
25
26 #include <iostream>
27
28 namespace esysUtils {
29 /**
30 \brief
31 Function which translates an EsysException into a python RuntimeError
32 */
33 ESYSUTILS_DLL_API
34 void RuntimeErrorTranslator(EsysException const& e);
35
36 /**
37 \brief
38 Function which translates an EsysException into a python ValueError
39 */
40 ESYSUTILS_DLL_API
41 void ValueErrorTranslator(EsysException const& e);
42 } // end of namespace
43
44 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26