Fawkes API  Fawkes Development Version
fawkes::OutOfBoundsException Class Reference

Index out of bounds. More...

#include <>>

Inheritance diagram for fawkes::OutOfBoundsException:

List of all members.

Public Member Functions

 OutOfBoundsException (const char *msg) throw ()
 Constructor.
 OutOfBoundsException (const char *msg, float val, float min, float max) throw ()
 Range constructor.

Detailed Description

Index out of bounds.

Throw this exception if a value is out of bounds or if someone tries to access an iterator that is not in the allowed range.


Constructor & Destructor Documentation

fawkes::OutOfBoundsException::OutOfBoundsException ( const char *  msg) throw ()

Constructor.

Parameters:
msginformative message, appended to exception, base message is "Out Of Bounds"

Definition at line 212 of file software.cpp.

fawkes::OutOfBoundsException::OutOfBoundsException ( const char *  msg,
float  val,
float  min,
float  max 
) throw ()

Range constructor.

Additionally to the message the ranges and actual values are added to the primary message.

Parameters:
msginformative message
valactual value
minminimum required value
maxmaximum allowed value

Definition at line 225 of file software.cpp.


The documentation for this class was generated from the following files: