Public Member Functions

g_exception Class Reference

Generic exception class. More...

#include <g_exception.h>

List of all members.

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

Detailed Description

Generic exception class.


Constructor & Destructor Documentation

g_exception::g_exception ( const char *  file = "",
int  line = -1,
string  msg = "" 
) [inline]

constructor

Parameters:
file file of the exception
line line of the exception
msg message of the exception

Member Function Documentation

void g_exception::set ( const char *  file = "",
int  line = -1,
string  msg = "" 
) [inline]

generic setter

Parameters:
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

Returns:
the description of the exception

The documentation for this class was generated from the following file: