Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
software.h
1
2
/***************************************************************************
3
* software.h - basic software exceptions
4
*
5
* Created: Wed Oct 04 18:37:35 2006
6
* Copyright 2006-2009 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version. A runtime exception applies to
14
* this software (see LICENSE.GPL_WRE file mentioned below for details).
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22
*/
23
24
#ifndef __CORE_EXCEPTIONS_SOFTWARE_H_
25
#define __CORE_EXCEPTIONS_SOFTWARE_H_
26
27
#include <core/exception.h>
28
29
namespace
fawkes {
30
#if 0
/* just to make Emacs auto-indent happy */
31
}
32
#endif
33
34
class
NullPointerException
:
public
Exception
{
35
public
:
36
NullPointerException
(
const
char
*format, ...)
throw
();
37
};
38
39
40
class
DivisionByZeroException
:
public
Exception
{
41
public
:
42
DivisionByZeroException
(
const
char
*format, ...)
throw
();
43
};
44
45
46
class
TypeMismatchException
:
public
Exception
{
47
public
:
48
TypeMismatchException
(
const
char
*format, ...)
throw
();
49
};
50
51
52
class
UnknownTypeException
:
public
Exception
{
53
public
:
54
UnknownTypeException
(
const
char
*format, ...)
throw
();
55
};
56
57
58
class
DestructionInProgressException
:
public
Exception
{
59
public
:
60
DestructionInProgressException
(
const
char
*format, ...)
throw
();
61
};
62
63
64
class
NotLockedException
:
public
Exception
{
65
public
:
66
NotLockedException
(
const
char
*format, ...)
throw
();
67
};
68
69
70
class
NonPointerTypeExpectedException
:
public
Exception
{
71
public
:
72
NonPointerTypeExpectedException
(
const
char
*format, ...)
throw
();
73
};
74
75
76
class
MissingParameterException
:
public
Exception
{
77
public
:
78
MissingParameterException
(
const
char
*format, ...)
throw
();
79
};
80
81
82
class
IllegalArgumentException
:
public
Exception
{
83
public
:
84
IllegalArgumentException
(
const
char
*format, ...)
throw
();
85
};
86
87
88
class
OutOfBoundsException
:
public
Exception
{
89
public
:
90
OutOfBoundsException
(
const
char
*msg)
throw
();
91
OutOfBoundsException
(
const
char
*msg,
float
val,
92
float
min,
float
max)
throw
();
93
};
94
95
96
class
AccessViolationException
:
public
Exception
{
97
public
:
98
AccessViolationException
(
const
char
*format, ...)
throw
();
99
};
100
101
102
class
SyntaxErrorException
:
public
Exception
{
103
public
:
104
SyntaxErrorException
(
const
char
*format, ...)
throw
();
105
};
106
107
class
NotImplementedException
:
public
Exception
{
108
public
:
109
NotImplementedException
(
const
char
*format, ...)
throw
();
110
};
111
112
113
}
// end namespace fawkes
114
115
#endif
src
libs
core
exceptions
software.h
Generated by
1.8.1.2