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

Base exception class. More...

#include <exceptions.h>

Inheritance diagram for dmlite::DmException:
Inheritance graph
[legend]
Collaboration diagram for dmlite::DmException:
Collaboration graph
[legend]

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 ( )
dmlite::DmException::DmException ( int  code)
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,
  ... 
)
dmlite::DmException::DmException ( const DmException de)
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

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

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