escript
Revision_
|
00001 00002 /***************************************************************************** 00003 * 00004 * Copyright (c) 2003-2014 by University of Queensland 00005 * http://www.uq.edu.au 00006 * 00007 * Primary Business: Queensland, Australia 00008 * Licensed under the Open Software License version 3.0 00009 * http://www.opensource.org/licenses/osl-3.0.php 00010 * 00011 * Development until 2012 by Earth Systems Science Computational Center (ESSCC) 00012 * Development 2012-2013 by School of Earth Sciences 00013 * Development from 2014 by Centre for Geoscience Computing (GeoComp) 00014 * 00015 *****************************************************************************/ 00016 00017 00018 #if !defined esysUtils_esysExceptionTranslator_20040419_H 00019 #define esysUtils_esysExceptionTranslator_20040419_H 00020 #include "system_dep.h" 00021 00022 #include "EsysException.h" 00023 00024 #include "boost/python/errors.hpp" 00025 00026 #include <iostream> 00027 00028 namespace esysUtils { 00033 ESYSUTILS_DLL_API 00034 void RuntimeErrorTranslator(EsysException const& e); 00035 00040 ESYSUTILS_DLL_API 00041 void ValueErrorTranslator(EsysException const& e); 00042 } // end of namespace 00043 00044 #endif