#include <OutOfRangeError.h>
Inheritance diagram for Sct::OutOfRangeError< T >:


Public Member Functions | |
| OutOfRangeError (const string &msg, const string &file, int line, T val, T lo, T hi) throw () | |
| Creates an Exception with message msg and no cause. | |
| OutOfRangeError (Throwable &cause, const string &file, int line, T val, T lo, T hi) throw () | |
| Creates an Exception with a cause. | |
| OutOfRangeError (const string &msg, Throwable &cause, const string &file, int line, T val, T lo, T hi) throw () | |
| Creates an Exception with a message and a cause. | |
| T | getValue () const throw () |
| Get the value that was requested. | |
| T | getLowLimit () const throw () |
| Get the lower limit for the parameter. | |
| T | getHighLimit () const throw () |
| Get the upper limit for the parameter. | |
| virtual shared_ptr< Throwable > | clone () const throw () |
| Necessary for chaining of exceptions unfortunately. | |
Protected Member Functions | |
| OutOfRangeError (T val, T lo, T hi) throw () | |
| virtual string | getMessage () const throw () |
| Gets the detail message for this. | |
Protected Attributes | |
| T | val |
| T | lo |
| T | hi |
Templated class: the type of class (e.g. int) which has gone out of range. This class must be able to << to an ostream (e.g. {int, long, short, unsigned} )
Definition at line 16 of file OutOfRangeError.h.
|
||||||||||||||||||||||||||||||||
|
Creates an Exception with message msg and no cause.
Definition at line 62 of file OutOfRangeError.h. |
|
||||||||||||||||||||||||||||||||
|
Creates an Exception with a cause. Useful for simply wrapping exceptions.
Definition at line 68 of file OutOfRangeError.h. |
|
||||||||||||||||||||||||||||||||||||
|
Creates an Exception with a message and a cause.
Definition at line 74 of file OutOfRangeError.h. |
|
|||||||||
|
Necessary for chaining of exceptions unfortunately. Should return a copy of this allocated on the heap. It is necessary for sub-classes to override this if they add new data members or if they do and special processing in what() or sentToMrs() Reimplemented from Sct::AbstractThrowable. Definition at line 105 of file OutOfRangeError.h. |
|
|||||||||
|
Get the upper limit for the parameter.
Definition at line 100 of file OutOfRangeError.h. |
|
|||||||||
|
Get the lower limit for the parameter.
Definition at line 95 of file OutOfRangeError.h. |
|
|||||||||
|
Gets the detail message for this.
Reimplemented from Sct::AbstractThrowable. Definition at line 80 of file OutOfRangeError.h. |
|
|||||||||
|
Get the value that was requested.
Definition at line 90 of file OutOfRangeError.h. |
1.3.5