Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsSmartException Class Reference

#include <dsSmartException.h>

Inheritance diagram for dsSmartException:

dsExpatException dsSSLException List of all members.

Public Methods

virtual const char * msg ()
virtual const char * tag ()
 dsSmartException ()
 dsSmartException (char *tag, char *format,...)
 dsSmartException (int facility, char *tag, char *format,...)
virtual ~dsSmartException ()
void fire (int facility, char *tag, char *format, va_list ap)
void fire (char *format, va_list ap)
void fire (char *tag, char *format, va_list ap)
virtual std::ostream & print (std::ostream &os=std::cerr)
int operator== (char *val)

Protected Attributes

dsStrstream _message
dsStrstream _tag
int _facility


std::ostream & operator<< (std::ostream &stream, dsSmartException &e)

Detailed Description

Easy way to create and maintain your own exceptions

Constructor & Destructor Documentation


dsSmartException::dsSmartException char *    tag,
char *    format,

dsSmartException::dsSmartException int    facility,
char *    tag,
char *    format,

dsSmartException::~dsSmartException   [virtual]

Member Function Documentation

void dsSmartException::fire char *    tag,
char *    format,
va_list    ap

void dsSmartException::fire char *    format,
va_list    ap

void dsSmartException::fire int    facility,
char *    tag,
char *    format,
va_list    ap

virtual const char* dsSmartException::msg   [inline, virtual]

int dsSmartException::operator== char *    val [inline]

ostream & dsSmartException::print std::ostream &    os = std::cerr [virtual]

Reimplemented in dsExpatException.

virtual const char* dsSmartException::tag   [inline, virtual]

Friends And Related Function Documentation

std::ostream& operator<< std::ostream &    stream,
dsSmartException &    e

Member Data Documentation

int dsSmartException::_facility [protected]

dsStrstream dsSmartException::_message [protected]

dsStrstream dsSmartException::_tag [protected]

The documentation for this class was generated from the following files:
Generated on Mon May 16 18:27:00 2005 for libdms4 by doxygen1.3-rc2