ESYS13  Revision_
DudleyError.h
Go to the documentation of this file.
00001 
00002 /*******************************************************
00003 *
00004 * Copyright (c) 2003-2012 by University of Queensland
00005 * Earth Systems Science Computational Center (ESSCC)
00006 * http://www.uq.edu.au/esscc
00007 *
00008 * Primary Business: Queensland, Australia
00009 * Licensed under the Open Software License version 3.0
00010 * http://www.opensource.org/licenses/osl-3.0.php
00011 *
00012 *******************************************************/
00013 
00014 
00015 #if !defined  dudley_DudleyError_20040528_H
00016 #define dudley_DudleyError_20040528_H
00017 #include "system_dep.h"
00018 
00019 extern "C" {
00020 #include "dudley/Dudley.h"
00021 }
00022 
00023 #include "DudleyAdapterException.h"
00024 
00025 #include <string>
00026 
00027 namespace dudley {
00033   DUDLEY_DLL_API
00034   void setDudleyError(Dudley_ErrorCodeType errorCode, 
00035               const std::string& errMess);
00036  
00041   DUDLEY_DLL_API
00042   void checkDudleyError();
00047   DUDLEY_DLL_API
00048   void checkPasoError();
00049 } // end of namespace
00050 #endif