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

ustl::file_exception Class Reference

File-related exceptions. More...

#include <ustl.h>

Inheritance diagram for ustl::file_exception:

ustl::libc_exception ustl::exception List of all members.

Public Member Functions

 file_exception (const char *operation, const char *filename) throw ()
 Initializes the empty object. operation is the function that returned the error code.
virtual const char * what (void) const throw ()
 Returns the name of the libc_exception.
virtual void info (string &msgbuf, const char *fmt=NULL) const throw ()
 Returns a descriptive error message. fmt="%s s: s (d)".
virtual void read (istream &is)
 Reads the exception from stream is.
virtual void write (ostream &os) const
 Writes the exception into stream os.
virtual size_t stream_size (void) const
 Returns the size of the written exception.

Protected Attributes

char m_Filename [PATH_MAX]
 Name of the file causing the error.

Detailed Description

File-related exceptions.

Contains the file name. This is a uSTL extension.


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