BALL::Exception::IndexUnderflow Class Reference

#include <BALL/COMMON/exception.h>

Inheritance diagram for BALL::Exception::IndexUnderflow:
BALL::Exception::GeneralException

List of all members.


Public Member Functions

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

Protected Attributes

Size size_
Index index_

Detailed Description

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

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

Constructor & Destructor Documentation

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

Member Data Documentation