CoreLinux++  0.4.32
CommandFrameException.hpp
1 #if !defined (__COMMANDFRAMEEXCEPTION_HPP)
2 #define __COMMANDFRAMEEXCEPTION_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( CommandFrameException );
33 
40  {
41 
42  public:
43 
54  (
55  CharCptr why,
56  CharCptr file,
57  LineNum line,
58  Severity severity = Exception::CONTINUABLE,
59  bool outOfMemory = false
60  );
61 
71  (
72  CharCptr file,
73  LineNum line,
74  Severity severity = Exception::CONTINUABLE,
75  bool outOfMemory = false
76  );
77 
84 
86 
87  virtual ~CommandFrameException( void );
88 
89  //
90  // Operator overloads
91  //
92 
100 
108 
109  //
110  // Accessor methods
111  //
112 
113 
114  //
115  // Mutator methods
116  //
117 
118 
119  protected:
120 
127  CommandFrameException( void );
128  };
129 
130 }
131 
132 
133 #endif // !defined __COMMANDFRAMEEXCEPTION_HPP
134 
135 /*
136  Common rcs information do not modify
137  $Author: frankc $
138  $Revision: 1.1 $
139  $Date: 2000/05/03 03:56:47 $
140  $Locker: $
141 */
142 
143 
144 
CommandFrameException is the base exception type for CommandFrame.
Definition: CommandFrameException.hpp:39
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
Severity
Exception Severity States.
Definition: Exception.hpp:59
virtual ~CommandFrameException(void)
Virtual Destructor.
Definition: CommandFrameException.cpp:91
CommandFrameExceptionRef operator=(CommandFrameExceptionCref)
Assignment operator overload.
Definition: CommandFrameException.cpp:101
Exception is the base exception class used in the CoreLinux++ libraries.
Definition: Exception.hpp:51
bool operator==(CommandFrameExceptionCref) const
Equality operator overload.
Definition: CommandFrameException.cpp:113
CommandFrameException(void)
CommandFrameException must have at least a location.
Definition: CommandFrameException.cpp:69

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