A Hopf, Skip and a Jump
|
The base class for all exceptions thrown by a SlidingBuffer. More...
#include <slidingbuffer.h>
Public Member Functions | |
SlidingBufferException (const char *what, const long int idx) | |
Construct an Exception object. More... | |
Public Attributes | |
const long int | index |
The exception was caused by attempting to access this index. | |
The base class for all exceptions thrown by a SlidingBuffer.
Records the reason for the exception in the parent class and the requested index which caused the exception.
Definition at line 20 of file slidingbuffer.h.
|
inline |
Construct an Exception object.
what | The reason for the exception. |
idx | Index of requested access which caused the exception. |
Definition at line 27 of file slidingbuffer.h.