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

Error::base Struct Reference

Base class to all erorrs. More...

#include <error_base.h>

Inheritance diagram for Error::base:

Error::Program Error::Runtime Error::Sock Error::Syntax List of all members.

Public Methods

virtual ~base ()
 base (const std::string &fu_name, const std::string &desc)
 Construct an error. More...

virtual operator std::string ()
 Get an pretty error string.


Public Attributes

std::string sFunc
 code position of error.

std::string sWhat
 error description.


Detailed Description

Base class to all erorrs.

Do not throw this class. But it is usefull to catch any kind of error.


Constructor & Destructor Documentation

Error::base::base const std::string &    fu_name,
const std::string &    desc
[inline]
 

Construct an error.

Parameters:
fu_name  Code position of error (ususally METH_NAME).
desc  Error description.


The documentation for this struct was generated from the following file:
Generated on Sun Apr 14 17:37:03 2002 for libvtql by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002