![]() |
Project
|
Handling access to invalid channel index (out-of-bounds) More...
#include <PedestalProcessorData.h>
Inherits std::exception.
Public Member Functions | |
ChannelIndexException (unsigned short channelIndex, unsigned short maxChannels) | |
Constructor. | |
~ChannelIndexException () noexcept final=default | |
Destructor. | |
const char * | what () const noexcept final |
Get error message of the exception. | |
unsigned short | getChannelIndex () const noexcept |
Get channel index raising the exception. | |
unsigned short | getMaxChannels () const noexcept |
Get max number for channels for the type the exception was raised. | |
Handling access to invalid channel index (out-of-bounds)
Definition at line 42 of file PedestalProcessorData.h.
|
inline |
Constructor.
channelIndex | Index raising the exception |
maxChannels | Maximun number of channels for a given type |
Definition at line 53 of file PedestalProcessorData.h.
|
finaldefaultnoexcept |
Destructor.
|
inlinenoexcept |
Get channel index raising the exception.
Definition at line 67 of file PedestalProcessorData.h.
|
inlinenoexcept |
Get max number for channels for the type the exception was raised.
Definition at line 71 of file PedestalProcessorData.h.
|
inlinefinalnoexcept |
Get error message of the exception.
Definition at line 63 of file PedestalProcessorData.h.