StandardExceptions::ExcIndexRange Class Reference
[Exceptions and assertions]
List of all members.
Detailed Description
This exception is one of the most often used ones, and indicates that an index is not within the expected range. For example, you might try to access an element of a vector which does not exist.
The constructor takes three int
, namely
-
the violating index
-
the lower bound
-
the upper bound plus one
Constructor & Destructor Documentation
StandardExceptions::ExcIndexRange::ExcIndexRange |
( |
const int |
a1, |
|
|
const int |
a2, |
|
|
const int |
a3 | |
|
) |
| | [inline] |
virtual StandardExceptions::ExcIndexRange::~ExcIndexRange |
( |
|
) |
throw () [inline, virtual] |
Member Function Documentation
virtual void StandardExceptions::ExcIndexRange::print_info |
( |
std::ostream & |
out |
) |
const [inline, virtual] |
Print more specific information about the exception which occured. Overload this function in your own exception classes.
Reimplemented from ExceptionBase.
Member Data Documentation
The documentation for this class was generated from the following file: