Project
Loading...
Searching...
No Matches
o2::emcal::TRUDataHandler::PatchIndexException Class Referencefinal

Handler of errors related to invalid trigger patch IDs. More...

#include <TRUDataHandler.h>

Inherits std::exception.

Public Member Functions

 PatchIndexException (int8_t index)
 Constructor.
 
 ~PatchIndexException () noexcept final=default
 Destructor.
 
int8_t getIndex () const
 Get patch index raising the exception.
 
const charwhat () const noexcept final
 Access Error message.
 
void printStream (std::ostream &stream) const
 Print error on output stream.
 

Detailed Description

Handler of errors related to invalid trigger patch IDs.

Definition at line 48 of file TRUDataHandler.h.

Constructor & Destructor Documentation

◆ PatchIndexException()

TRUDataHandler::PatchIndexException::PatchIndexException ( int8_t  index)

Constructor.

Parameters
indexPatch index raising the exception

Definition at line 47 of file TRUDataHandler.cxx.

◆ ~PatchIndexException()

o2::emcal::TRUDataHandler::PatchIndexException::~PatchIndexException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getIndex()

int8_t o2::emcal::TRUDataHandler::PatchIndexException::getIndex ( ) const
inline

Get patch index raising the exception.

Returns
Patch index

Definition at line 60 of file TRUDataHandler.h.

◆ printStream()

void TRUDataHandler::PatchIndexException::printStream ( std::ostream &  stream) const

Print error on output stream.

Parameters
streamStream to be printed to

Definition at line 52 of file TRUDataHandler.cxx.

◆ what()

const char * o2::emcal::TRUDataHandler::PatchIndexException::what ( ) const
inlinefinalnoexcept

Access Error message.

Returns
Error message

Definition at line 64 of file TRUDataHandler.h.


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