MI - Fimex
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
include
fimex
CDMException.h
Go to the documentation of this file.
1
/*
2
* Fimex
3
*
4
* (C) Copyright 2008, met.no
5
*
6
* Project Info: https://wiki.met.no/fimex/start
7
*
8
* This library is free software; you can redistribute it and/or modify it
9
* under the terms of the GNU Lesser General Public License as published by
10
* the Free Software Foundation; either version 2.1 of the License, or
11
* (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16
* License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21
* USA.
22
*/
23
24
#ifndef CDMEXCEPTION_H_
25
#define CDMEXCEPTION_H_
26
27
#include <
stdexcept
>
28
#include <
string
>
29
30
namespace
MetNoFimex
31
{
32
36
class
CDMException
:
public
std::runtime_error
37
{
38
public
:
39
CDMException
() :
std
::
runtime_error
(
"CDMException"
) {}
40
explicit
CDMException
(
std::string
msg) :
std
::
runtime_error
(
"CDMException: "
+ msg) {}
41
};
42
43
}
44
45
#endif
/*CDMEXCEPTION_H_*/
std::string
basic_string< char > string
std
STL namespace.
MetNoFimex::CDMException
Definition:
CDMException.h:36
MetNoFimex
Definition:
C_CDMReader.h:35
MetNoFimex::CDMException::CDMException
CDMException()
Definition:
CDMException.h:39
string
stdexcept
MetNoFimex::CDMException::CDMException
CDMException(std::string msg)
Definition:
CDMException.h:40
std::runtime_error
STL class.
Generated on Mon Mar 20 2017 13:30:16 for MI - Fimex by
1.8.11