escript  Revision_
DudleyError.h
Go to the documentation of this file.
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  dudley_DudleyError_20040528_H
00019 #define dudley_DudleyError_20040528_H
00020 #include "system_dep.h"
00021 
00022 #include "dudley/Dudley.h"
00023 
00024 #include "DudleyAdapterException.h"
00025 
00026 #include <string>
00027 
00028 namespace dudley {
00034   DUDLEY_DLL_API
00035   void setDudleyError(Dudley_ErrorCodeType errorCode, 
00036               const std::string& errMess);
00037  
00042   DUDLEY_DLL_API
00043   void checkDudleyError();
00048   DUDLEY_DLL_API
00049   void checkPasoError();
00050 } // end of namespace
00051 #endif