Project
Loading...
Searching...
No Matches
o2::emcal::CalibContainerIndexException Class Reference

Error handling for invalid index in calibration request. More...

#include <CalibContainerErrors.h>

Inherits std::exception.

Public Member Functions

 CalibContainerIndexException (unsigned int index)
 Constructor.
 
 ~CalibContainerIndexException () noexcept final=default
 Destructor.
 
const charwhat () const noexcept final
 Access to error message of the exception.
 
unsigned int getIndex () const noexcept
 Access to index raising the exception.
 

Detailed Description

Error handling for invalid index in calibration request.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Sept 15, 2022

Definition at line 29 of file CalibContainerErrors.h.

Constructor & Destructor Documentation

◆ CalibContainerIndexException()

CalibContainerIndexException::CalibContainerIndexException ( unsigned int  index)

Constructor.

Parameters
indexIndex in container raising the exception

Definition at line 17 of file CalibContainerErrors.cxx.

◆ ~CalibContainerIndexException()

o2::emcal::CalibContainerIndexException::~CalibContainerIndexException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getIndex()

unsigned int o2::emcal::CalibContainerIndexException::getIndex ( ) const
inlinenoexcept

Access to index raising the exception.

Returns
Index raising the exception

Definition at line 45 of file CalibContainerErrors.h.

◆ what()

const char * o2::emcal::CalibContainerIndexException::what ( ) const
inlinefinalnoexcept

Access to error message of the exception.

Returns
Error message

Definition at line 41 of file CalibContainerErrors.h.


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