yat
0.11.3pre
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
yat
utility
Exception.h
1
#ifndef _theplu_yat_utility_exception_
2
#define _theplu_yat_utility_exception_
3
4
// $Id: Exception.h 2526 2011-07-25 02:03:35Z peter $
5
6
/*
7
Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
8
Copyright (C) 2010, 2011 Peter Johansson
9
10
This file is part of the yat library, http://dev.thep.lu.se/yat
11
12
The yat library is free software; you can redistribute it and/or
13
modify it under the terms of the GNU General Public License as
14
published by the Free Software Foundation; either version 3 of the
15
License, or (at your option) any later version.
16
17
The yat library is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
General Public License for more details.
21
22
You should have received a copy of the GNU General Public License
23
along with yat. If not, see <http://www.gnu.org/licenses/>.
24
*/
25
26
#include <stdexcept>
27
#include <string>
28
29
namespace
theplu {
30
namespace
yat {
31
namespace
utility {
32
33
34
38
class
runtime_error
:
public
std::runtime_error
39
{
40
public
:
46
runtime_error
(std::string message);
47
};
48
49
53
class
cmd_error
:
public
runtime_error
54
{
55
public
:
61
cmd_error
(std::string message);
62
};
63
64
71
class
errno_error
:
public
runtime_error
72
{
73
public
:
78
errno_error
(std::string message);
79
};
80
87
class
GSL_error
:
public
runtime_error
88
{
89
public
:
93
GSL_error
(std::string message);
94
99
GSL_error
(std::string message,
int
gsl_status);
100
};
101
102
109
class
IO_error
:
public
runtime_error
110
{
111
public
:
115
IO_error
(std::string message);
116
};
117
118
}}}
// of namespace utility, yat, and theplu
119
120
#endif
Generated on Sat May 24 2014 03:33:05 for yat by
1.8.2