Main Page | Modules | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

IndexOutOfBoundsException Class Reference
[Exceptions]

Exception indicating that someone tried to access something at an index that is beyond the bounds of the container; e.g. trying to access packet 1025 in a Trace with 2 packets. More...

#include <exceptions.h>

Inheritance diagram for IndexOutOfBoundsException:

std::runtime_error List of all members.

Public Member Functions

 IndexOutOfBoundsException (void)
 Create an IndexOutOfBoundsException with a default message.
 IndexOutOfBoundsException (const std::string &mesg)
 Create an IndexOutOfBoundsException with a custom message.

Detailed Description

Exception indicating that someone tried to access something at an index that is beyond the bounds of the container; e.g. trying to access packet 1025 in a Trace with 2 packets.


Constructor & Destructor Documentation

IndexOutOfBoundsException::IndexOutOfBoundsException const std::string &  mesg  )  [inline]
 

Create an IndexOutOfBoundsException with a custom message.

Parameters:
mesg Message to be returned as 'what()'


The documentation for this class was generated from the following file:
Generated on Thu Apr 5 01:02:37 2007 for ANTARES by  doxygen 1.4.2