#include <exception.h>
Inheritance diagram for EMAN::_OutofRangeException:


Public Member Functions | |
| _OutofRangeException (int low, int high, int input, const string &file="unknown", int line=0, const string &desc_str="", const string &objname_str="") | |
| const char * | name () const |
| The name of this E2Exception class. | |
parameters: 1. low The lower limit of the valid range. 2. high The uppper limit of the valid range. 3. input The given, out-of-range value. 4. objname The name of the variable holding the value.
Definition at line 325 of file exception.h.
| EMAN::_OutofRangeException::_OutofRangeException | ( | int | low, | |
| int | high, | |||
| int | input, | |||
| const string & | file = "unknown", |
|||
| int | line = 0, |
|||
| const string & | desc_str = "", |
|||
| const string & | objname_str = "" | |||
| ) | [inline] |
Definition at line 328 of file exception.h.
References EMAN::E2Exception::desc.
00332 : E2Exception(file, line, desc_str, objname_str) 00333 { 00334 stringstream ss; 00335 ss << input << " out of range [" << low << "," << high << "]"; 00336 desc = ss.str(); 00337 }
| const char* EMAN::_OutofRangeException::name | ( | ) | const [inline, virtual] |
The name of this E2Exception class.
Reimplemented from EMAN::E2Exception.
Definition at line 339 of file exception.h.
1.4.7