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

Qmms::Log::LogException Class Reference

Handy little exception class that handles exceptions within the qmmslog system. More...

#include <log.hh>

List of all members.

Public Methods

 LogException ()
 Default constructor. More...

 LogException (const QString e, const QString d)
 Constructor. More...

QString getError ()
 Accessor method. More...

QString getDetail ()
 Accessor method. More...


Public Attributes

QString str_error
 The string that holds the error message of this exception. More...

QString str_detail
 Any further details about this exception. More...


Detailed Description

Handy little exception class that handles exceptions within the qmmslog system.


Constructor & Destructor Documentation

Qmms::Log::LogException::LogException  
 

Default constructor.

Sets both str_error and str_detail to blank.

Qmms::Log::LogException::LogException const QString    e,
const QString    d
 

Constructor.

Creates a LogException with the given error and detail strings.

Parameters:
e  the error string
d  the detail string


Member Function Documentation

QString Qmms::Log::LogException::getDetail  
 

Accessor method.

Returns:
the detail string str_detail

QString Qmms::Log::LogException::getError  
 

Accessor method.

Returns:
the error string str_error


Member Data Documentation

QString Qmms::Log::LogException::str_detail
 

Any further details about this exception.

QString Qmms::Log::LogException::str_error
 

The string that holds the error message of this exception.


The documentation for this class was generated from the following file:
Generated on Fri Jan 3 15:04:05 2003 for QmmsLog by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001