Generic exception class. More...
#include <g_exception.h>
Public Member Functions | |
| g_exception (const char *file="", int line=-1, string msg="") | |
| constructor | |
| void | set (const char *file="", int line=-1, string msg="") |
| generic setter | |
| virtual | ~g_exception () throw () |
| destructor | |
| virtual const char * | what () const throw () |
| print the message of the exception | |
Generic exception class.
| g_exception::g_exception | ( | const char * | file = "", |
|
| int | line = -1, |
|||
| string | msg = "" | |||
| ) | [inline] |
constructor
| file | file of the exception | |
| line | line of the exception | |
| msg | message of the exception |
| void g_exception::set | ( | const char * | file = "", |
|
| int | line = -1, |
|||
| string | msg = "" | |||
| ) | [inline] |
generic setter
| file | file of the exception | |
| line | line of the exception | |
| msg | message of the exception |
Referenced by PARASOLData::get_entry_block(), PARASOLFileData::get_viewing_directions(), and PARASOLFileData::load_viewing_directions_data().
| virtual const char* g_exception::what | ( | ) | const throw () [inline, virtual] |
print the message of the exception
1.7.1