Drizzled Public API Documentation

CSException Class Reference

Inheritance diagram for CSException:
CSObject

List of all members.

Public Member Functions

void setErrorCode (int e)
int getErrorCode ()
const char * getContext ()
const char * getMessage ()
void setStackTrace (CSThread *self, const char *stack)
void setStackTrace (CSThread *self)
const char * getStackTrace ()
void log (CSThread *self)
void log (CSThread *self, const char *message)
void initException_va (const char *func, const char *file, int line, int err, const char *fmt, va_list ap)
void initException (CSException &exception)
void initExceptionf (const char *func, const char *file, int line, int err, const char *fmt,...)
void initException (const char *func, const char *file, int line, int err, const char *message)
void initAssertion (const char *func, const char *file, int line, const char *message)
void getCoreError (uint32_t size, char *buffer, int err)
void initCoreError (const char *func, const char *file, int line, int err)
void initCoreError (const char *func, const char *file, int line, int err, const char *item)
void initOSError (const char *func, const char *file, int line, int err)
void initFileError (const char *func, const char *file, int line, const char *path, int err)
void initSignal (const char *func, const char *file, int line, int err)
void initEOFError (const char *func, const char *file, int line, const char *path)
virtual void retain ()
virtual void release ()
virtual void finalize ()
virtual CSObjectgetKey ()
virtual int compareKey (CSObject *)
virtual uint32_t hashKey ()
virtual CSObjectgetHashLink ()
virtual void setHashLink (CSObject *)
virtual CSObjectgetNextLink ()
virtual CSObjectgetPrevLink ()
virtual void setNextLink (CSObject *)
virtual void setPrevLink (CSObject *)

Static Public Member Functions

static void RecordException (const char *func, const char *file, int line, int err, const char *message)
static void ClearException ()
static void throwException (const char *func, const char *file, int line, int err, const char *message, const char *stack)
static void throwException (const char *func, const char *file, int line, int err, const char *message)
static void throwExceptionf (const char *func, const char *file, int line, int err, const char *fmt,...)
static void throwAssertion (const char *func, const char *file, int line, const char *message)
static void throwCoreError (const char *func, const char *file, int line, int err)
static void throwCoreError (const char *func, const char *file, int line, int err, const char *item)
static void throwOSError (const char *func, const char *file, int line, int err)
static void throwFileError (const char *func, const char *file, int line, const char *path, int err)
static void throwFileError (const char *func, const char *file, int line, CSString *path, int err)
static void throwSignal (const char *func, const char *file, int line, int err)
static void throwEOFError (const char *func, const char *file, int line, const char *path)
static void throwLastError (const char *func, const char *file, int line)
static void logOSError (const char *func, const char *file, int line, int err)
static void logOSError (CSThread *self, const char *func, const char *file, int line, int err)
static void logException (const char *func, const char *file, int line, int err, const char *message)

Private Attributes

int iErrorCode
char iContext [CS_EXC_CONTEXT_SIZE]
char iMessage [CS_EXC_MESSAGE_SIZE]
CSStringBuffer iStackTrace

Detailed Description

Definition at line 66 of file CSException.h.


The documentation for this class was generated from the following files: