#include <CigiException.h>
Inheritance diagram for CigiException:
Public Member Functions | |
CigiException (void) | |
virtual | ~CigiException (void) throw () |
bool | HasMessage (void) const |
int | GetErrorCode (void) const |
bool | HasErrorCode (void) const |
virtual const char * | what () const throw () |
Protected Attributes | |
char * | Msg |
int | ErrorCode |
Definition at line 74 of file CigiException.h.
CigiException::CigiException | ( | void | ) | [inline] |
The general constructor for the base CIGI exception class
Definition at line 85 of file CigiException.h.
virtual CigiException::~CigiException | ( | void | ) | throw () [inline, virtual] |
The general destructor for the base CIGI exception class
Definition at line 91 of file CigiException.h.
int CigiException::GetErrorCode | ( | void | ) | const [inline] |
Gets the error code for the exception.
Definition at line 111 of file CigiException.h.
00111 { return(ErrorCode); }
bool CigiException::HasErrorCode | ( | void | ) | const [inline] |
Returns whether this exception has a set error code.
Definition at line 117 of file CigiException.h.
References CIGI_ERROR_NONE.
00118 { 00119 return(ErrorCode != CIGI_ERROR_NONE); // same as CIGI_SUCCESS 00120 }
bool CigiException::HasMessage | ( | void | ) | const [inline] |
Returns whether the exception has a message.
Definition at line 102 of file CigiException.h.
00103 { 00104 return(Msg != NULL); 00105 }
virtual const char* CigiException::what | ( | ) | const throw () [inline, virtual] |
The virtual implemented what funtion.
Definition at line 127 of file CigiException.h.
00127 { return(Msg); }
int CigiException::ErrorCode [protected] |
The error code for this exception.
Definition at line 140 of file CigiException.h.
char* CigiException::Msg [protected] |
The message for this exception.
Definition at line 135 of file CigiException.h.