Last change
on this file since 1191 was
685,
checked in by rlacroix, 9 years ago
|
Merge "output" and "input" folders into one "io" folder.
Some files were used for both output and input so the separation was not valid anymore.
|
-
Property copyright set to
Software name : XIOS (Xml I/O Server) http://forge.ipsl.jussieu.fr/ioserver Creation date : January 2009 Licence : CeCCIL version2 see license file in root directory : Licence_CeCILL_V2-en.txt or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement) CNRS/IPSL (Institut Pierre Simon Laplace) Project Manager : Yann Meurdesoif yann.meurdesoif@cea.fr
|
File size:
716 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file netCdfException.hpp |
---|
3 | \author Ha NGUYEN |
---|
4 | \date 08 Oct 2014 |
---|
5 | \since 07 Oct 2014 |
---|
6 | |
---|
7 | \brief Exception management. |
---|
8 | */ |
---|
9 | #ifndef __NETCDF_EXCEPTION_HPP__ |
---|
10 | #define __NETCDF_EXCEPTION_HPP__ |
---|
11 | |
---|
12 | #include <iostream> |
---|
13 | #include <exception> |
---|
14 | |
---|
15 | namespace xios |
---|
16 | { |
---|
17 | /*! |
---|
18 | \class CNetCdfException |
---|
19 | This class manages exceptions risen by CNetCdfInterface |
---|
20 | */ |
---|
21 | class CNetCdfException : public virtual std::exception |
---|
22 | { |
---|
23 | public: |
---|
24 | CNetCdfException(const std::string& ss) : exStr_(ss) {} |
---|
25 | CNetCdfException(const CNetCdfException& netEx) : exStr_(netEx.exStr_) {} |
---|
26 | ~CNetCdfException() throw() {} |
---|
27 | const char* what() const throw() { return exStr_.c_str();} |
---|
28 | protected: |
---|
29 | std::string exStr_; |
---|
30 | }; |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | #endif // __NETCDF_EXCEPTION_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.