CoreLinux++  0.4.32
AllocatorAlreadyExistsException.hpp
1 #if !defined (__ALLOCATORALREADYEXISTSEXCEPTION_HPP)
2 #define __ALLOCATORALREADYEXISTSEXCEPTION_HPP
3 
4 /*
5  CoreLinux++
6  Copyright (C) 2000 CoreLinux Consortium
7 
8  The CoreLinux++ Library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Library General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12 
13  The CoreLinux++ Library Library is distributed in the hope that it will
14  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  Library General Public License for more details.
17 
18  You should have received a copy of the GNU Library General Public
19  License along with the GNU C Library; see the file COPYING.LIB. If not,
20  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA 02111-1307, USA.
22 */
23 
24 #if !defined(__COMMON_HPP)
25 #include <Common.hpp>
26 #endif
27 
28 #if !defined(__ABSTRACTFACTORYEXCEPTION_HPP)
29 #include <AbstractFactoryException.hpp>
30 #endif
31 
32 namespace corelinux
33 {
34 
35 
36  DECLARE_CLASS( AllocatorAlreadyExistsException );
37 
45  {
46 
47  public:
48 
61  (
62  CharCptr file,
63  LineNum line,
64  Severity severity = Exception::CONTINUABLE,
65  bool outOfMemory = false
66  );
67 
75  (
77  );
78 
80 
81  virtual ~AllocatorAlreadyExistsException( void );
82 
83  //
84  // Operator overloads
85  //
86 
94  (
96  );
97 
104  bool operator==
105  (
107  ) const;
108 
109  //
110  // Accessor methods
111  //
112 
113 
114  //
115  // Mutator methods
116  //
117 
118 
119  protected:
120 
128 
129  };
130 
131 }
132 
133 
134 #endif // !defined __ALLOCATORALREADYEXISTSEXCEPTION_HPP
135 
136 /*
137  Common rcs information do not modify
138  $Author: prudhomm $
139  $Revision: 1.1 $
140  $Date: 2000/04/23 20:43:13 $
141  $Locker: $
142 */
143 
144 
145 
146 
147 
AbstractFactoryException is the base exception type for AbstractFactory.
Definition: AbstractFactoryException.hpp:38
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
Severity
Exception Severity States.
Definition: Exception.hpp:59
AllocatorAlreadyExistsException is an exception that is usually thrown when a add of an Allocator col...
Definition: AllocatorAlreadyExistsException.hpp:44
virtual ~AllocatorAlreadyExistsException(void)
Virtual Destructor.
Definition: AllocatorAlreadyExistsException.cpp:85
AllocatorAlreadyExistsException(void)
AllocatorAlreadyExistsException must have at least a location.
Definition: AllocatorAlreadyExistsException.cpp:60

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium