#include <Exception.h>
Public Types | |
enum | Mode { ExceptionMode = 32, StatusMode = 64 } |
Public Member Functions | |
Exception (int status=0, SeverityStatus severity=_Error) | |
Not yet documented. | |
Exception (Status parent, int status=0, SeverityStatus severity=_Error) | |
Not yet documented. | |
Exception (const Exception &e) | |
Not yet documented. | |
Exception & | operator= (const Exception &e) |
Not yet documented. | |
Status | setSeverity (SeverityStatus severity) |
Not yet documented. | |
SeverityStatus | getSeverity () const |
Not yet documented. | |
Status | getParent () const |
Not yet documented. | |
void | setStatus (int status) |
Not yet documented. | |
int | getStatus () const |
Not yet documented. | |
Status | setString (const char *fmt,...) |
Not yet documented. | |
Status | setString (SeverityStatus severity, const char *fmt,...) |
Not yet documented. | |
Status | setString (int status, SeverityStatus severity, const char *fmt,...) |
Not yet documented. | |
const char * | getString () const |
Not yet documented. | |
const char * | getDesc () const |
Not yet documented. | |
Status | setUserData (Any ud) |
Not yet documented. | |
Any | getUserData () const |
Not yet documented. | |
void | applyHandler () const |
Status | print (FILE *fd=stderr, bool newline=true) const |
Not yet documented. | |
~Exception () | |
Static Public Member Functions | |
static void | setHandler (void(*handler)(Status, void *), void *hud=NULL) |
Not yet documented. | |
static void(* | getHandler ())(Status, void *) |
Not yet documented. | |
static void * | getHandlerUserData () |
Not yet documented. | |
static Exception::Mode | setMode (Exception::Mode mode) |
Not yet documented. | |
static Exception::Mode | getMode () |
Not yet documented. | |
static Status | make (int err, const char *fmt,...) |
Not yet documented. | |
static Status | make (int err, const std::string &s) |
Not yet documented. | |
static Status | make (const char *fmt,...) |
Not yet documented. | |
static Status | make (const std::string &s) |
Not yet documented. | |
static Status | make (int err) |
Not yet documented. | |
static Status | make (Status status) |
Not yet documented. | |
static void | init (void) |
static void | _release (void) |
Definition at line 50 of file Exception.h.
eyedb::Exception::Exception | ( | int | status = 0 , |
|
SeverityStatus | severity = _Error | |||
) |
eyedb::Exception::Exception | ( | Status | parent, | |
int | status = 0 , |
|||
SeverityStatus | severity = _Error | |||
) |
eyedb::Exception::Exception | ( | const Exception & | e | ) |
Status eyedb::Exception::setSeverity | ( | SeverityStatus | severity | ) |
SeverityStatus eyedb::Exception::getSeverity | ( | void | ) | const |
Status eyedb::Exception::getParent | ( | ) | const |
void eyedb::Exception::setStatus | ( | int | status | ) |
int eyedb::Exception::getStatus | ( | void | ) | const |
Status eyedb::Exception::setString | ( | const char * | fmt, | |
... | ||||
) |
Status eyedb::Exception::setString | ( | SeverityStatus | severity, | |
const char * | fmt, | |||
... | ||||
) |
Status eyedb::Exception::setString | ( | int | status, | |
SeverityStatus | severity, | |||
const char * | fmt, | |||
... | ||||
) |
Not yet documented.
status | ||
severity | ||
fmt |
Definition at line 282 of file Exception.cc.
const char * eyedb::Exception::getString | ( | void | ) | const |
const char * eyedb::Exception::getDesc | ( | void | ) | const |
Any eyedb::Exception::getUserData | ( | void | ) | const |
void eyedb::Exception::setHandler | ( | void(*)(Status, void *) | handler, | |
void * | hud = NULL | |||
) | [static] |
static void(* eyedb::Exception::getHandler | ( | ) | [static] |
Not yet documented.
void * eyedb::Exception::getHandlerUserData | ( | ) | [static] |
Exception::Mode eyedb::Exception::setMode | ( | Exception::Mode | mode | ) | [static] |
Exception::Mode eyedb::Exception::getMode | ( | ) | [static] |
Status eyedb::Exception::print | ( | FILE * | fd = stderr , |
|
bool | newline = true | |||
) | const |
Status eyedb::Exception::make | ( | int | err, | |
const char * | fmt, | |||
... | ||||
) | [static] |
Status eyedb::Exception::make | ( | int | err, | |
const std::string & | s | |||
) | [static] |
Status eyedb::Exception::make | ( | const char * | fmt, | |
... | ||||
) | [static] |
Status eyedb::Exception::make | ( | const std::string & | s | ) | [static] |
Status eyedb::Exception::make | ( | int | err | ) | [static] |