Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

IndexUnderflow Class Reference
[Exceptions]

#include <OpenMS/CONCEPT/Exception.h>

Inheritance diagram for IndexUnderflow:

Base

List of all members.


Detailed Description

Int underflow exception.

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

Public Member Functions

 IndexUnderflow (const char *file, int line, const char *function, Int index=0, UInt size=0) throw ()

Protected Attributes

UInt size_
Int index_

Constructor & Destructor Documentation

IndexUnderflow ( const char *  file,
int  line,
const char *  function,
Int  index = 0,
UInt  size = 0 
) throw ()


Member Data Documentation

UInt size_ [protected]

Int index_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:49 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1