Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

Ars::ExceptionBase Class Reference

All wGui exception classes are derived from here. More...

#include <arsexception.h>

Inheritance diagram for Ars::ExceptionBase:

Inheritance graph
[legend]

Public Member Functions

 ExceptionBase (const std::string &sWhat)
 sWhat A string for more information on what caused the exception

virtual ~ExceptionBase (void) throw ()
 Standard Destructor.

virtual const char * what () const throw ()
 A string describing what caused the exception.

virtual const std::string & std_what () const throw ()
 A std::string reference describing what caused the exception.


Protected Attributes

std::string m_sWhat

Detailed Description

All wGui exception classes are derived from here.

Definition at line 7 of file arsexception.h.


Constructor & Destructor Documentation

Ars::ExceptionBase::ExceptionBase const std::string &  sWhat  )  [inline]
 

sWhat A string for more information on what caused the exception

Definition at line 11 of file arsexception.h.

References m_sWhat.

00011 : m_sWhat(sWhat) { }

virtual Ars::ExceptionBase::~ExceptionBase void   )  throw () [inline, virtual]
 

Standard Destructor.

Definition at line 14 of file arsexception.h.

00014 { }


Member Function Documentation

virtual const std::string& Ars::ExceptionBase::std_what  )  const throw () [inline, virtual]
 

A std::string reference describing what caused the exception.

Reimplemented in Ars::ExceptionLexer.

Definition at line 20 of file arsexception.h.

References m_sWhat.

00020 { return m_sWhat; }

virtual const char* Ars::ExceptionBase::what  )  const throw () [inline, virtual]
 

A string describing what caused the exception.

Reimplemented in Ars::ExceptionLexer.

Definition at line 17 of file arsexception.h.

References m_sWhat.

00017 { return m_sWhat.c_str(); }


Field Documentation

std::string Ars::ExceptionBase::m_sWhat [protected]
 

Definition at line 23 of file arsexception.h.

Referenced by ExceptionBase(), Ars::ExceptionLexer::ExceptionLexer(), Ars::ExceptionLexer::std_what(), std_what(), Ars::ExceptionLexer::what(), and what().


The documentation for this class was generated from the following file:
Generated on Fri Dec 5 04:06:41 2003 for Borqueror by doxygen 1.3.3