Fawkes API  Fawkes Development Version
exceptions.h
1 /***************************************************************************
2  * exceptions.h - Fawkes tf exceptions
3  *
4  * Created: Tue Oct 18 16:38:22 2011
5  * Copyright 2011 Tim Niemueller [www.niemueller.de]
6  ****************************************************************************/
7 
8 /* This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version. A runtime exception applies to
12  * this software (see LICENSE.GPL_WRE file mentioned below for details).
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Library General Public License for more details.
18  *
19  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
20  */
21 
22 #ifndef _LIBS_TF_EXCEPTIONS_H_
23 #define _LIBS_TF_EXCEPTIONS_H_
24 
25 #include <core/exception.h>
26 
27 namespace fawkes {
28 namespace tf {
29 
31 {
32 public:
34 };
35 
37 {
38 public:
39  ConnectivityException(const char *format, ...);
40 };
41 
43 {
44 public:
45  LookupException(const char *format, ...);
46 };
47 
49 {
50 public:
51  ExtrapolationException(const char *format, ...);
52 };
53 
55 {
56 public:
57  InvalidArgumentException(const char *format, ...);
58 };
59 
61 {
62 public:
63  DisabledException(const char *format, ...);
64 };
65 
66 } // end namespace tf
67 } // end namespace fawkes
68 
69 #endif
Base class for exceptions in Fawkes.
Definition: exception.h:36
No connection between two frames in tree.
Definition: exceptions.h:37
ConnectivityException(const char *format,...)
Constructor.
Definition: exceptions.cpp:46
The requested feature is disabled.
Definition: exceptions.h:61
DisabledException(const char *format,...)
Constructor.
Definition: exceptions.cpp:113
Request would have required extrapolation beyond current limits.
Definition: exceptions.h:49
ExtrapolationException(const char *format,...)
Constructor.
Definition: exceptions.cpp:80
Passed argument was invalid.
Definition: exceptions.h:55
InvalidArgumentException(const char *format,...)
Constructor.
Definition: exceptions.cpp:97
A frame could not be looked up.
Definition: exceptions.h:43
LookupException(const char *format,...)
Constructor.
Definition: exceptions.cpp:64
Base class for fawkes tf exceptions.
Definition: exceptions.h:31
Fawkes library namespace.