1
#if !defined (__BOUNDSEXCEPTION_HPP)
2
#define __BOUNDSEXCEPTION_HPP
6
Copyright (C) 2000 CoreLinux Consortium
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.
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.
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.
24
#if !defined(__COMMON_HPP)
28
#if !defined(__STORAGEEXCEPTION_HPP)
29
#include <StorageException.hpp>
35
DECLARE_CLASS( BoundsException );
38
BoundsException is a type of StorageException, characterized when
39
access to a storage object is invalid.
42
class BoundsException : public StorageException
49
@param why describes why the exception was thrown
50
@param file The source module throwing the exception
51
@param line The line of source throwing the exception
52
@param severity The Exception::Severity of the Exception
53
@param outOfMemory An out of memory indicator
61
Severity severity = Exception::CONTINUABLE,
62
bool outOfMemory = false
67
@param file The source module throwing the exception
68
@param line The line of source throwing the exception
69
@param severity The Exception::Severity of the Exception
70
@param outOfMemory An out of memory indicator
77
Severity severity = Exception::CONTINUABLE,
78
bool outOfMemory = false
83
@param BoundsException const reference
86
BoundsException( BoundsExceptionCref );
88
/// Virtual Destructor
90
virtual ~BoundsException( void );
97
Assignment operator overload
98
@param BoundsException const reference
99
@return BoundsException reference to self
102
BoundsExceptionRef operator=( BoundsExceptionCref );
105
Equality operator overload
106
@param BoundsException const reference
107
@return true if equal, false otherwise
110
bool operator==( BoundsExceptionCref ) const;
125
BoundsException must have at least
127
Default constructor is not allowed.
130
BoundsException( void );
136
#endif // !defined __BOUNDSEXCEPTION_HPP
139
Common rcs information do not modify
142
$Date: 2000/04/23 20:43:13 $