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

Error Class Reference

base class for reporting errors. More...

#include <error.h>

Inheritance diagram for Error::

Lexer::Error Precompiler::Error Lexer::cannot_create_file Lexer::cannot_open_file Precompiler::cannot_create_tmp_file Precompiler::cannot_open_file Precompiler::tmp_parse_error List of all members.

Public Methods

 Error (Line line, std::string module=_("unknown module"), std::string error_string=_("unknown error"))
template<class T>  Error (Line line, std::string module, std::string error_string, T what)
 Error (std::string module=_("unknown module"), std::string error_string=_("unknown error"))
std::string str ()

Private Attributes

Line line
std::string module
std::string error_string
std::string type

Detailed Description

base class for reporting errors.


Constructor & Destructor Documentation

Error::Error Line    line,
std::string    module = _("unknown module"),
std::string    error_string = _("unknown error")
 

template<class T>
Error::Error Line    line,
std::string    module,
std::string    error_string,
  what
[inline]
 

Error::Error std::string    module = _("unknown module"),
std::string    error_string = _("unknown error")
 


Member Function Documentation

std::string Error::str  
 


Member Data Documentation

std::string Error::error_string [private]
 

Line Error::line [private]
 

std::string Error::module [private]
 

std::string Error::type [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Nov 20 02:19:53 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001