Fawkes API
Fawkes Development Version
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
31
class
NullPointerException :
public
Exception
32
{
33
public
:
34
NullPointerException
(
const
char
*format, ...) throw();
35
};
36
37
class
DivisionByZeroException
: public
Exception
38
{
39
public
:
40
DivisionByZeroException
(
const
char
*format, ...)
throw
();
41
};
42
43
class
TypeMismatchException
:
public
Exception
44
{
45
public
:
46
TypeMismatchException
(
const
char
*format, ...)
throw
();
47
};
48
49
class
UnknownTypeException
:
public
Exception
50
{
51
public
:
52
UnknownTypeException
(
const
char
*format, ...)
throw
();
53
};
54
55
class
DestructionInProgressException
:
public
Exception
56
{
57
public
:
58
DestructionInProgressException
(
const
char
*format, ...)
throw
();
59
};
60
61
class
NotLockedException
:
public
Exception
62
{
63
public
:
64
NotLockedException
(
const
char
*format, ...)
throw
();
65
};
66
67
class
NonPointerTypeExpectedException
:
public
Exception
68
{
69
public
:
70
NonPointerTypeExpectedException
(
const
char
*format, ...)
throw
();
71
};
72
73
class
MissingParameterException
:
public
Exception
74
{
75
public
:
76
MissingParameterException
(
const
char
*format, ...)
throw
();
77
};
78
79
class
IllegalArgumentException
:
public
Exception
80
{
81
public
:
82
IllegalArgumentException
(
const
char
*format, ...)
throw
();
83
};
84
85
class
OutOfBoundsException
:
public
Exception
86
{
87
public
:
88
OutOfBoundsException
(
const
char
*msg)
throw
();
89
OutOfBoundsException
(
const
char
*msg,
float
val,
float
min,
float
max)
throw
();
90
};
91
92
class
AccessViolationException
:
public
Exception
93
{
94
public
:
95
AccessViolationException
(
const
char
*format, ...)
throw
();
96
};
97
98
class
SyntaxErrorException
:
public
Exception
99
{
100
public
:
101
SyntaxErrorException
(
const
char
*format, ...)
throw
();
102
};
103
104
class
NotImplementedException
:
public
Exception
105
{
106
public
:
107
NotImplementedException
(
const
char
*format, ...)
throw
();
108
};
109
110
}
// end namespace fawkes
111
112
#endif
fawkes::IllegalArgumentException
Definition:
software.h:85
fawkes::DivisionByZeroException
Definition:
software.h:43
fawkes::NullPointerException::NullPointerException
NullPointerException(const char *format,...)
Constructor.
Definition:
software.cpp:45
fawkes::DestructionInProgressException
Definition:
software.h:61
fawkes::NotLockedException
Definition:
software.h:67
fawkes::AccessViolationException
Definition:
software.h:98
fawkes::OutOfBoundsException
Definition:
software.h:91
fawkes::NonPointerTypeExpectedException
Definition:
software.h:73
fawkes::TypeMismatchException
Definition:
software.h:49
fawkes::UnknownTypeException
Definition:
software.h:55
fawkes
fawkes::MissingParameterException
Definition:
software.h:79
fawkes::SyntaxErrorException
Definition:
software.h:104
fawkes::NotImplementedException
Definition:
software.h:110
fawkes::Exception
Definition:
exception.h:41
src
libs
core
exceptions
software.h
Generated by
1.8.17