GA Exception. More...
#include <rga.h>
Inheritance diagram for RGAException:
Collaboration diagram for RGAException:
Public Member Functions | |
RGAException (const RString &type, const RString &str) | |
RGAException (const RString &type, const RString &func, long where, const RString &str) | |
RString | GetType (void) const |
Protected Attributes | |
RString | Type |
Detailed Description
GA Exception.
The RGAException class provides an exception generated by the GA.
Constructor & Destructor Documentation
RGAException | ( | const RString & | type, |
const RString & | str | ||
) |
Construct a GA exception with a particular message.
- Parameters
-
type Type of the exception. str Message of the error.
RGAException | ( | const RString & | type, |
const RString & | func, | ||
long | where, | ||
const RString & | str | ||
) |
Construct a GA exception with the message "func [where]: str". A typical use is:
if(!ptr)
- See also
- The mThrowRGAException2 macro.
- Parameters
-
type Type of the exception. func Function producing the error. where Line position of the error. str Message of the error.
Member Function Documentation
RString GetType | ( | void | ) | const |
Get the type of the exception.
Member Data Documentation
|
protected |
Type of the exception.