fawkes::OutOfBoundsException Class Reference
[Fawkes Exceptions]

Index out of bounds. More...

#include <core/exceptions/software.h>

Inheritance diagram for fawkes::OutOfBoundsException:

[legend]
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.

Definition at line 88 of file software.h.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
msg informative 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:
msg informative message
val actual value
min minimum required value
max maximum allowed value

Definition at line 225 of file software.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:48 2011 for Fawkes API by  doxygen 1.4.7