Fawkes API
Fawkes Development Version
shm_exceptions.h
1
2
/***************************************************************************
3
* shm_exceptions.h - exceptions thrown in shmem utils, do NOT put your own
4
* application specific exceptions here!
5
*
6
* Created: Thu Feb 09 13:06:52 2006
7
* Copyright 2005-2006 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 _UTILS_IPC_SHM_EXCEPTIONS_H_
26
#define _UTILS_IPC_SHM_EXCEPTIONS_H_
27
28
#include <core/exception.h>
29
30
namespace
fawkes
{
31
32
class
ShmCouldNotAttachException :
public
Exception
33
{
34
public
:
35
ShmCouldNotAttachException
(
const
char
*msg);
36
};
37
38
class
ShmNoHeaderException :
public
Exception
39
{
40
public
:
41
ShmNoHeaderException
();
42
};
43
44
class
ShmInconsistentSegmentSizeException
:
public
Exception
45
{
46
public
:
47
ShmInconsistentSegmentSizeException
(
unsigned
int
desired_mem,
unsigned
int
act_mem);
48
};
49
50
class
ShmDoesNotExistException
:
public
Exception
51
{
52
public
:
53
ShmDoesNotExistException
();
54
};
55
56
class
ShmCouldNotAttachAddrDepException
:
public
Exception
57
{
58
public
:
59
ShmCouldNotAttachAddrDepException
();
60
};
61
62
class
ShmAddrOutOfBoundsException
:
public
Exception
63
{
64
public
:
65
ShmAddrOutOfBoundsException
();
66
};
67
68
class
ShmPtrOutOfBoundsException
:
public
Exception
69
{
70
public
:
71
ShmPtrOutOfBoundsException
();
72
};
73
74
}
// end namespace fawkes
75
76
#endif
fawkes::ShmDoesNotExistException::ShmDoesNotExistException
ShmDoesNotExistException()
Constructor.
Definition:
shm_exceptions.cpp:73
fawkes::ShmInconsistentSegmentSizeException
Definition:
shm_exceptions.h:51
fawkes::ShmPtrOutOfBoundsException
Definition:
shm_exceptions.h:75
fawkes::ShmDoesNotExistException
Definition:
shm_exceptions.h:57
fawkes::ShmCouldNotAttachException::ShmCouldNotAttachException
ShmCouldNotAttachException(const char *msg)
Constructor.
Definition:
shm_exceptions.cpp:41
fawkes::ShmInconsistentSegmentSizeException::ShmInconsistentSegmentSizeException
ShmInconsistentSegmentSizeException(unsigned int desired_mem, unsigned int act_mem)
Constructor.
Definition:
shm_exceptions.cpp:60
fawkes::ShmCouldNotAttachAddrDepException
Definition:
shm_exceptions.h:63
fawkes::ShmCouldNotAttachAddrDepException::ShmCouldNotAttachAddrDepException
ShmCouldNotAttachAddrDepException()
Constructor.
Definition:
shm_exceptions.cpp:83
fawkes
fawkes::ShmPtrOutOfBoundsException::ShmPtrOutOfBoundsException
ShmPtrOutOfBoundsException()
Constructor.
Definition:
shm_exceptions.cpp:103
fawkes::ShmAddrOutOfBoundsException
Definition:
shm_exceptions.h:69
fawkes::ShmAddrOutOfBoundsException::ShmAddrOutOfBoundsException
ShmAddrOutOfBoundsException()
Constructor.
Definition:
shm_exceptions.cpp:93
fawkes::ShmNoHeaderException::ShmNoHeaderException
ShmNoHeaderException()
Constructor.
Definition:
shm_exceptions.cpp:49
fawkes::Exception
Definition:
exception.h:41
src
libs
utils
ipc
shm_exceptions.h
Generated by
1.8.17