CoreLinux++  0.4.32
IteratorBoundsException.hpp
1 #if !defined (__ITERATORBOUNDSEXCEPTION_HPP)
2 #define __ITERATORBOUNDSEXCEPTION_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(__ITERATOREXCEPTION_HPP)
29 #include <IteratorException.hpp>
30 #endif
31 
32 namespace corelinux
33 {
34 
35 
36  DECLARE_CLASS( IteratorBoundsException );
37 
45  {
46 
47  public:
48 
58  (
59  CharCptr file,
60  LineNum line,
61  Severity severity = Exception::CONTINUABLE,
62  bool outOfMemory = false
63  );
64 
71 
73 
74  virtual ~IteratorBoundsException( void );
75 
76  //
77  // Operator overloads
78  //
79 
87 
95 
96  //
97  // Accessor methods
98  //
99 
100 
101  //
102  // Mutator methods
103  //
104 
105 
106  protected:
107 
114  IteratorBoundsException( void );
115 
116 
117  private:
118 
119  private:
120 
121  };
122 
123 }
124 
125 
126 #endif // !defined __ITERATORBOUNDSEXCEPTION_HPP
127 
128 /*
129  Common rcs information do not modify
130  $Author: prudhomm $
131  $Revision: 1.1 $
132  $Date: 2000/04/23 20:43:13 $
133  $Locker: $
134 */
135 
136 
IteratorBoundsExceptionRef operator=(IteratorBoundsExceptionCref)
Assignment operator overload.
Definition: IteratorBoundsException.cpp:87
IteratorBoundsException is thrown when a Iterator has position before the begining or past the end po...
Definition: IteratorBoundsException.hpp:44
IteratorBoundsException(void)
IteratorBoundsException must have at least a location.
Definition: IteratorBoundsException.cpp:52
IteratorException is the base exception type for Iterator.
Definition: IteratorException.hpp:39
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
Severity
Exception Severity States.
Definition: Exception.hpp:59
bool operator==(IteratorBoundsExceptionCref) const
Equality operator overload.
Definition: IteratorBoundsException.cpp:100
virtual ~IteratorBoundsException(void)
Virtual Destructor.
Definition: IteratorBoundsException.cpp:77

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