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

StringError Class Reference

an Error with an extra message attached. More...

Inheritance diagram for StringError:

Inheritance graph
[legend]
Collaboration diagram for StringError:

Collaboration graph
[legend]
List of all members.

Public Methods

 StringError (const string &msg_, const string &extra_message)
virtual ~StringError () throw ()
virtual void print (ostream &out) const

Private Attributes

string s

Detailed Description

an Error with an extra message attached.

Definition at line 105 of file Option.cpp.


Constructor & Destructor Documentation

StringError const string &    msg_,
const string &    extra_message
[inline]
 

Definition at line 108 of file Option.cpp.

virtual ~StringError   throw () [inline, virtual]
 

Definition at line 113 of file Option.cpp.


Member Function Documentation

virtual void print ostream &    out const [inline, virtual]
 

Print error message.

Parameters:
out  Stream to which the error is printed
See also:
get_print_message

Reimplemented from Error.

Definition at line 115 of file Option.cpp.


Member Data Documentation

string s [private]
 

Definition at line 106 of file Option.cpp.

Referenced by print(), and StringError().


The documentation for this class was generated from the following file:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen