dmlite 0.6
dmlite::DmException Class Reference

Base exception class. More...

#include <exceptions.h>

Inheritance diagram for dmlite::DmException:
Collaboration diagram for dmlite::DmException:

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

◆ DmException() [1/6]

dmlite::DmException::DmException ( )

◆ DmException() [2/6]

dmlite::DmException::DmException ( int code)

◆ DmException() [3/6]

dmlite::DmException::DmException ( int code,
const std::string & string )

◆ DmException() [4/6]

dmlite::DmException::DmException ( int code,
const char * fmt,
va_list args )

◆ DmException() [5/6]

dmlite::DmException::DmException ( int code,
const char * fmt,
... )

◆ DmException() [6/6]

dmlite::DmException::DmException ( const DmException & de)

◆ ~DmException()

virtual dmlite::DmException::~DmException ( )
throw ( )
virtual

Member Function Documentation

◆ code()

int dmlite::DmException::code ( ) const
throw ( )

◆ report()

void dmlite::DmException::report ( ) const
throw ( )

◆ setMessage()

void dmlite::DmException::setMessage ( const char * fmt,
va_list args )
protected

◆ what()

const char * dmlite::DmException::what ( ) const
throw ( )

Member Data Documentation

◆ errorCode_

int dmlite::DmException::errorCode_
protected

◆ errorMsg_

std::string dmlite::DmException::errorMsg_
protected

◆ stacktrace_

std::string dmlite::DmException::stacktrace_
protected

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