CoreLinux++  0.4.32
AbstractFactoryException.hpp
1 #if !defined (__ABSTRACTFACTORYEXCEPTION_HPP)
2 #define __ABSTRACTFACTORYEXCEPTION_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 namespace corelinux
29 {
30 
31 
32  DECLARE_CLASS( AbstractFactoryException );
33 
39  {
40 
41  public:
42 
53  (
54  CharCptr file,
55  LineNum line,
56  Severity severity = Exception::CONTINUABLE,
57  bool outOfMemory = false
58  );
59 
66  (
68  );
69 
71 
72  virtual ~AbstractFactoryException( void );
73 
74  //
75  // Operator overloads
76  //
77 
85  (
87  );
88 
95  bool operator==
96  (
98  ) const;
99 
100  //
101  // Accessor methods
102  //
103 
104 
105  //
106  // Mutator methods
107  //
108 
109 
110  protected:
111 
123  (
124  CharCptr why,
125  CharCptr file,
126  LineNum line,
127  Severity severity = Exception::CONTINUABLE,
128  bool outOfMemory = false
129  );
130 
137  AbstractFactoryException( void );
138 
139 
140  private:
141 
142  private:
143 
144  };
145 
146 }
147 
148 
149 #endif // !defined __ABSTRACTFACTORYEXCEPTION_HPP
150 
151 /*
152  Common rcs information do not modify
153  $Author: prudhomm $
154  $Revision: 1.1 $
155  $Date: 2000/04/23 20:43:13 $
156  $Locker: $
157 */
158 
159 
160 
161 
AbstractFactoryException is the base exception type for AbstractFactory.
Definition: AbstractFactoryException.hpp:38
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
virtual ~AbstractFactoryException(void)
Virtual Destructor.
Definition: AbstractFactoryException.cpp:94
Severity
Exception Severity States.
Definition: Exception.hpp:59
Exception is the base exception class used in the CoreLinux++ libraries.
Definition: Exception.hpp:51
AbstractFactoryException(void)
AbstractFactoryException must have at least a location.
Definition: AbstractFactoryException.cpp:69

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