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