#include <gbException.hpp>

Public Types | |
| enum | GBERROR { GB_OK = 0, GB_FAILED, GB_OUTOFMEMORY, GB_ILLEGALPARAMETER, GB_INVALIDCONTEXT, GB_NOTIMPLEMENTED } |
Public Member Functions | |
| gbException () throw () | |
| Default constructor Sets errorcode to GB_FAILED and errorstring to NULL. | |
| gbException (GBERROR e) throw () | |
| Constructor. | |
| gbException (GBERROR e, const char *str) throw () | |
| Constructor. | |
| gbException (gbException const &e) throw () | |
| Copy constructor. | |
| virtual | ~gbException () throw () |
| Destructor. | |
| char const * | GetErrorString () const throw () |
| Get the errorstring if supplied; returns empty string otherwise. | |
| GBERROR | GetErrorCode () const throw () |
| Get the errorcode of this exception. | |
| gbException & | operator= (gbException const &e) throw () |
| Copy assignment. | |
| virtual char const * | what () const throw () |
| Get a message describing the nature of the exception. | |
| Ghulbus::gbException::gbException | ( | GBERROR | e | ) | throw () |
Constructor.
| [in] | e | Errorcode |
| Ghulbus::gbException::gbException | ( | GBERROR | e, | |
| const char * | str | |||
| ) | throw () |
Constructor.
| [in] | e | Errorcode |
| [in] | str | C-style string describing the error |
| char const * Ghulbus::gbException::GetErrorString | ( | ) | const throw () |
Get the errorstring if supplied; returns empty string otherwise.
| gbException::GBERROR Ghulbus::gbException::GetErrorCode | ( | ) | const throw () |
Get the errorcode of this exception.
| char const * Ghulbus::gbException::what | ( | ) | const throw () [virtual] |
Get a message describing the nature of the exception.
1.5.4