dmlite  0.6
Public Member Functions | Protected Member Functions | Protected Attributes
dmlite::DmException Class Reference

Base exception class. More...

#include <exceptions.h>

List of all members.

Public Member Functions

 DmException ()
 DmException (int code)
 DmException (int code, const std::string &string)
 DmException (int code, const char *fmt, va_list args)
 DmException (int code, const char *fmt,...)
 DmException (const DmException &de)
virtual ~DmException () throw ()
int code () const throw ()
const char * what () const throw ()

Protected Member Functions

void setMessage (const char *fmt, va_list args)

Protected Attributes

int errorCode_
std::string errorMsg_

Detailed Description

Base exception class.


Constructor & Destructor Documentation

dmlite::DmException::DmException ( int  code,
const std::string &  string 
)
dmlite::DmException::DmException ( int  code,
const char *  fmt,
va_list  args 
)
dmlite::DmException::DmException ( int  code,
const char *  fmt,
  ... 
)
virtual dmlite::DmException::~DmException ( ) throw () [virtual]

Member Function Documentation

int dmlite::DmException::code ( ) const throw ()
void dmlite::DmException::setMessage ( const char *  fmt,
va_list  args 
) [protected]
const char* dmlite::DmException::what ( ) const throw ()

Member Data Documentation

std::string dmlite::DmException::errorMsg_ [protected]

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