#include <exception.h>

Public Member Functions | |
| LimitExceeded (std::string resource_name, T maxval, T errorval, const char *f, int l) throw () | |
| T | max_value () const throw () |
| T | actual_value () const throw () |
Protected Member Functions | |
| const char * | description () const throw () |
| psi::LimitExceeded< T >::LimitExceeded | ( | std::string | resource_name, | |
| T | maxval, | |||
| T | errorval, | |||
| const char * | f, | |||
| int | l | |||
| ) | throw () [inline] |
Constructor
| resource_name | The name of the value that was exceeded (e.g. memory or scf max iterations) | |
| maxval | The max (or min) value allowed | |
| errorval | The actual value obtained | |
| f | The file that threw the exception (use __FILE__ macro) | |
| l | The line number that threw the exception (use __LINE__ macro) |
| const char* psi::LimitExceeded< T >::description | ( | ) | const throw () [inline, protected] |
Accessor method
1.5.6