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

ustl::logic_error Class Reference

Logic errors represent problems in the internal logic of the program. More...

#include <ustl.h>

Inheritance diagram for ustl::logic_error:

ustl::exception ustl::domain_error ustl::invalid_argument ustl::length_error ustl::out_of_range List of all members.

Public Member Functions

 logic_error (const string &arg) throw ()
 arg contains a description of the error.
virtual ~logic_error (void) throw ()
 Virtual destructor.
virtual const char * what (void) const throw ()
 Returns the name of the exception.
virtual void info (string &msgbuf, const char *fmt=NULL) const throw ()
 Returns a descriptive error message. fmt="%s: s".
virtual void read (istream &is)
 Reads the exception from stream is.
virtual void write (ostream &os) const
 Writes the exception into stream os as an IFF chunk.
virtual size_t stream_size (void) const
 Returns the size of the written exception.

Protected Attributes

string m_Arg

Detailed Description

Logic errors represent problems in the internal logic of the program.


The documentation for this class was generated from the following files:
Generated on Mon Jan 17 14:35:03 2005 for uSTL by 1.3.9 Doxygen Hosted on SourceForge.net