dmlite  0.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dmlite::DmException Class Reference

Base exception class. More...

#include <exceptions.h>

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

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

Member Function Documentation

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

Member Data Documentation

int dmlite::DmException::errorCode_
protected
std::string dmlite::DmException::errorMsg_
protected

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