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 #if 0 /* just to make Emacs auto-indent happy */
30  }
31 }
32 #endif
33 
35 {
36  public:
38 };
39 
41 {
42  public:
43  ConnectivityException(const char *format, ...);
44 };
45 
47 {
48  public:
49  LookupException(const char *format, ...);
50 };
51 
53 {
54  public:
55  ExtrapolationException(const char *format, ...);
56 };
57 
59 {
60  public:
61  InvalidArgumentException(const char *format, ...);
62 };
63 
65 {
66  public:
67  DisabledException(const char *format, ...);
68 };
69 
70 
71 } // end namespace tf
72 } // end namespace fawkes
73 
74 #endif
Base class for fawkes tf exceptions.
Definition: exceptions.h:34
Fawkes library namespace.
TransformException()
Constructor.
Definition: exceptions.cpp:36
Passed argument was invalid.
Definition: exceptions.h:58
Request would have required extrapolation beyond current limits.
Definition: exceptions.h:52
No connection between two frames in tree.
Definition: exceptions.h:40
Base class for exceptions in Fawkes.
Definition: exception.h:36
The requested feature is disabled.
Definition: exceptions.h:64
A frame could not be looked up.
Definition: exceptions.h:46