Fawkes API Fawkes Development Version
shm_exceptions.h
1
2/***************************************************************************
3 * shm_exceptions.h - exceptions thrown in shmem image utils, do NOT put
4 * your own application specific exceptions here!
5 *
6 * Generated: Thu Feb 09 13:06:52 2006
7 * Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
8 *
9 ****************************************************************************/
10
11/* This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version. A runtime exception applies to
15 * this software (see LICENSE.GPL_WRE file mentioned below for details).
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Library General Public License for more details.
21 *
22 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23 */
24
25#ifndef _FIREVISION_FVUTILS_IPC_SHM_EXCEPTIONS_H_
26#define _FIREVISION_FVUTILS_IPC_SHM_EXCEPTIONS_H_
27
28#include <core/exception.h>
29
30namespace firevision {
31
32/** Throw if an inconsistent image was found. */
34{
35public:
36 /** Constructor.
37 * @param msg additional message
38 */
40 {
41 }
42};
43
44/** Throw if an inconsistent LUT was found. */
46{
47public:
48 /** Constructor.
49 * @param msg additional message
50 */
51 InconsistentLUTException(const char *msg) : fawkes::Exception(msg)
52 {
53 }
54};
55
56} // end namespace firevision
57
58#endif
Base class for exceptions in Fawkes.
Definition: exception.h:36
Exception() noexcept
Constructor for subclasses.
Definition: exception.cpp:253
Throw if an inconsistent image was found.
InconsistentImageException(const char *msg)
Constructor.
Throw if an inconsistent LUT was found.
InconsistentLUTException(const char *msg)
Constructor.
Fawkes library namespace.