#include <ustl.h>
Inheritance diagram for ustl::libc_exception:

Public Member Functions | |
| libc_exception (const char *operation) throw () | |
Initializes the empty object. operation is the function that returned the error code. | |
| libc_exception (const libc_exception &v) throw () | |
Copies object v. | |
| const libc_exception & | operator= (const libc_exception &v) |
Copies object v. | |
| 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: m (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 | |
| int | m_Errno |
| Error code returned by the failed operation. | |
| const char * | m_Operation |
| Name of the failed operation. | |
Contains an errno and description. This is a uSTL extension.