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

Exception thrown when an attempt was made to access a negative index in the SlidingBuffer. More...

#include <slidingbuffer.h>

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

Public Member Functions

 NegativeIndexException (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 attempt was made to access a negative index in the SlidingBuffer.

Definition at line 39 of file slidingbuffer.h.

Constructor & Destructor Documentation

◆ NegativeIndexException()

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

Construct an Exception object.

Parameters
idxIndex of requested access which caused the exception.

Definition at line 45 of file slidingbuffer.h.


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