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
29namespace fawkes {
30
32{
33public:
34 NullPointerException(const char *format, ...) noexcept;
35};
36
38{
39public:
40 DivisionByZeroException(const char *format, ...) noexcept;
41};
42
44{
45public:
46 TypeMismatchException(const char *format, ...) noexcept;
47};
48
50{
51public:
52 UnknownTypeException(const char *format, ...) noexcept;
53};
54
56{
57public:
58 DestructionInProgressException(const char *format, ...) noexcept;
59};
60
62{
63public:
64 NotLockedException(const char *format, ...) noexcept;
65};
66
68{
69public:
70 NonPointerTypeExpectedException(const char *format, ...) noexcept;
71};
72
74{
75public:
76 MissingParameterException(const char *format, ...) noexcept;
77};
78
80{
81public:
82 IllegalArgumentException(const char *format, ...) noexcept;
83};
84
86{
87public:
88 OutOfBoundsException(const char *msg) noexcept;
89 OutOfBoundsException(const char *msg, float val, float min, float max) noexcept;
90};
91
93{
94public:
95 AccessViolationException(const char *format, ...) noexcept;
96};
97
99{
100public:
101 SyntaxErrorException(const char *format, ...) noexcept;
102};
103
105{
106public:
107 NotImplementedException(const char *format, ...) noexcept;
108};
109
110} // end namespace fawkes
111
112#endif
Access violates policy.
Definition: software.h:93
AccessViolationException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:230
DestructionInProgressException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:104
DivisionByZeroException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:55
Base class for exceptions in Fawkes.
Definition: exception.h:36
Expected parameter is missing.
Definition: software.h:80
IllegalArgumentException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:174
Expected parameter is missing.
Definition: software.h:74
MissingParameterException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:157
Non-pointer type expected.
Definition: software.h:68
NonPointerTypeExpectedException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:139
Called method has not been implemented.
Definition: software.h:105
NotImplementedException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:265
Operation on unlocked object.
Definition: software.h:62
NotLockedException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:122
A NULL pointer was supplied where not allowed.
Definition: software.h:32
NullPointerException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:39
Index out of bounds.
Definition: software.h:86
OutOfBoundsException(const char *msg) noexcept
Constructor.
Definition: software.cpp:193
SyntaxErrorException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:247
TypeMismatchException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:71
UnknownTypeException(const char *format,...) noexcept
Constructor.
Definition: software.cpp:87
Fawkes library namespace.