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 ()
void report () const throw ()

Protected Member Functions

void setMessage (const char *fmt, va_list args)

Protected Attributes

int errorCode_
std::string errorMsg_
std::string stacktrace_

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::report (  )  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]
std::string dmlite::DmException::stacktrace_ [protected]

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

Generated on 19 Apr 2018 for dmlite by  doxygen 1.6.1