Main Page | Class Hierarchy | Class List | File List | Class Members

MyError Class Reference

The MyError class is the base class for all errors in this library. More...

#include <MyError.hh>

Inheritance diagram for MyError:

List of all members.

Public Member Functions

 MyError (std::string s)
const std::string & msg () const

Detailed Description

The MyError class is the base class for all errors in this library.

The inherited classes are used for throwing, so that the library user can do a simple catch( MyError err) to catch all errors.


Constructor & Destructor Documentation

MyError::MyError std::string  s  )  [inline]
 

Constructor taking a plain text error message

Parameters:
s plain text error message


Member Function Documentation

const std::string& MyError::msg  )  const [inline]
 

return the plain text error message, that was passed to the constructor

Returns:
plain text error message


The documentation for this class was generated from the following file:
Generated on Wed May 4 16:19:59 2005 by  doxygen 1.4.2