Basic Exception. More...
#include <galilei.h>
Inheritance diagram for GException:
Public Member Functions | |
GException (const R::RString &str) | |
GException (const R::RString &func, long where, const R::RString &str) | |
GException (void) throw () | |
Detailed Description
Basic Exception.
The GException class provides a basic representation for an exception.
Constructor & Destructor Documentation
GException | ( | const R::RString & | str | ) |
Construct an exception.
- Parameters
-
str Message of the error.
GException | ( | const R::RString & | func, |
long | where, | ||
const R::RString & | str | ||
) |
Construct an exception with the message "func [where]: str". A typical use is:
if(!ptr)
- See also
- The mThrowGException marco.
- Parameters
-
func Function producing the error. where Line position of the error. str Message of the error.
GException | ( | void | ) | ||
throw | ( | ||||
) |
Construct an exception.