Index out of bounds. More...
#include <core/exceptions/software.h>
Public Member Functions | |
OutOfBoundsException (const char *msg) throw () | |
Constructor. | |
OutOfBoundsException (const char *msg, float val, float min, float max) throw () | |
Range constructor. |
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.
fawkes::OutOfBoundsException::OutOfBoundsException | ( | const char * | msg | ) | throw () |
Constructor.
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.
msg | informative message | |
val | actual value | |
min | minimum required value | |
max | maximum allowed value |
Definition at line 225 of file software.cpp.