#include <data.h>

Public Member Functions | |
| rock_exception_io (size_t pos, size_t size, size_t alloc_size) throw () | |
| Construct a rock messaging IO exception. | |
| virtual const char * | what () const throw () |
| Get a description of the cause of the exception. | |
Public Attributes | |
| size_t | pos |
| the position in the array of data where the error occurred. | |
| size_t | size |
| the size of the data (this is <= the allocated bufer size) | |
| size_t | alloc_size |
| the allocated buffer size | |
Protected Attributes | |
| char | buf [100] |
It stores the size and position in the data wehere the error occurred, and it also maintains a 100 byte character buffer for a short explanatory message.
| karoo::rock_exception_io::rock_exception_io | ( | size_t | pos, | |
| size_t | size, | |||
| size_t | alloc_size | |||
| ) | throw () [inline] |
Construct a rock messaging IO exception.
| pos | the position in the array of data where the error occurred. | |
| size | the size of the data (this is <= the allocated bufer size). | |
| alloc_size | the allocated buffer size. |
References alloc_size, pos, and size.
| virtual const char* karoo::rock_exception_io::what | ( | ) | const throw () [inline, virtual] |
Get a description of the cause of the exception.
Reimplemented in karoo::rock_exception_read.
References alloc_size, pos, and size.
the position in the array of data where the error occurred.
Referenced by rock_exception_io(), karoo::rock_exception_read::what(), and what().
1.5.8