Main Page | Class Hierarchy | Class List | File List | Class Members

dbException Class Reference

#include <exception.h>

List of all members.

Public Member Functions

 dbException (int p_err_code, const char *p_msg=NULL, int p_arg=0)
 dbException (dbException const &ex)
 ~dbException ()
int getErrCode () const
char * getMsg () const
long getArg () const

Protected Attributes

int err_code
char * msg
int arg


Detailed Description

Exception class thrown by GigaBASE when compiled with THROW_EXCEPTION_ON_ERROR


Constructor & Destructor Documentation

dbException::dbException int  p_err_code,
const char *  p_msg = NULL,
int  p_arg = 0
 

Exception constructor

Parameters:
p_err_code erro code as defined in dbErrorClass enum in database.h
p_msg erro message
p_arg message optional argument

dbException::dbException dbException const &  ex  ) 
 

Copy constructor

dbException::~dbException  ) 
 

Destructor


Member Function Documentation

long dbException::getArg  )  const [inline]
 

Get optional argument

int dbException::getErrCode  )  const [inline]
 

Get error code

Returns:
error code as defined in dbErrorClass enum in database.h

char* dbException::getMsg  )  const [inline]
 

Get message text


The documentation for this class was generated from the following file:
Generated on Thu Feb 12 18:46:27 2004 for GigaBASE by doxygen 1.3.5