A Hopf, Skip and a Jump
Public Member Functions | List of all members
slidingbuffer::ExpiredIndexException Class Reference

Exception thrown when an apparently valid index (positive, within the extent of the data read so far) is accessed, but the entity has been destroyed because it is older than the oldest entity held in the SlidingBuffer. More...

#include <slidingbuffer.h>

Inheritance diagram for slidingbuffer::ExpiredIndexException:
Inheritance graph
[legend]
Collaboration diagram for slidingbuffer::ExpiredIndexException:
Collaboration graph
[legend]

Public Member Functions

 ExpiredIndexException (const long int idx)
 Construct an Exception object. More...
 
- Public Member Functions inherited from slidingbuffer::SlidingBufferException
 SlidingBufferException (const char *what, const long int idx)
 Construct an Exception object. More...
 

Additional Inherited Members

- Public Attributes inherited from slidingbuffer::SlidingBufferException
const long int index
 The exception was caused by attempting to access this index.
 

Detailed Description

Exception thrown when an apparently valid index (positive, within the extent of the data read so far) is accessed, but the entity has been destroyed because it is older than the oldest entity held in the SlidingBuffer.

Definition at line 57 of file slidingbuffer.h.

Constructor & Destructor Documentation

◆ ExpiredIndexException()

slidingbuffer::ExpiredIndexException::ExpiredIndexException ( const long int  idx)
inline

Construct an Exception object.

Parameters
idxIndex of requested access which caused the exception.

Definition at line 63 of file slidingbuffer.h.


The documentation for this class was generated from the following file: