BALL::Exception::IndexOverflow Class Reference

#include <BALL/COMMON/exception.h>

Inheritance diagram for BALL::Exception::IndexOverflow:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IndexOverflow (const char *file, int line, Index index=0, Size size=0)

Protected Attributes

Size size_
Index index_

Detailed Description

Index overflow. Throw this exception to indicate an index that was larger than allowed. The constructor has two additional arguments, the values of which should be set to the index that caused the failure and the largest allowed value to simplify debugging.

Parameters:
index the value of the index causing the problem
size largest value allowed for index

Definition at line 157 of file COMMON/exception.h.


Constructor & Destructor Documentation

BALL::Exception::IndexOverflow::IndexOverflow ( const char *  file,
int  line,
Index  index = 0,
Size  size = 0 
)

Member Data Documentation

Definition at line 166 of file COMMON/exception.h.

Definition at line 165 of file COMMON/exception.h.

Generated by  doxygen 1.6.3