#include <ustl.h>
Inheritance diagram for ustl::stream_bounds_exception:
Public Member Functions | |
stream_bounds_exception (const char *operation, const char *type, uoff_t offset, size_t expected, size_t remaining) 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 stream s: %u: expected u, available u";. | |
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 | |
const char * | m_TypeName |
uoff_t | m_Offset |
size_t | m_Expected |
size_t | m_Remaining |
Only thrown in debug builds unless you say otherwise in config.h This is a uSTL extension.