Main Page   Class Hierarchy   Compound List   File List   Compound Members  

dbException Class Reference

#include <exception.h>

List of all members.

Public Methods

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


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

virtual dbException::~dbException   throw () [virtual]
 

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 14 21:46:05 2008 for GigaBASE by doxygen1.2.18