Project
Loading...
Searching...
No Matches
o2::emcal::InvalidCellIDException Class Referencefinal

Exception handling non-existing cell IDs. More...

#include <GeometryBase.h>

Inherits std::exception.

Public Member Functions

 InvalidCellIDException (int cellID)
 Constructor, setting cell ID raising the exception.
 
 ~InvalidCellIDException () noexcept final=default
 Destructor.
 
int getCellID () const noexcept
 Access to cell ID raising the exception.
 
const charwhat () const noexcept final
 Access to error message of the exception.
 

Detailed Description

Exception handling non-existing cell IDs.

Definition at line 130 of file GeometryBase.h.

Constructor & Destructor Documentation

◆ InvalidCellIDException()

o2::emcal::InvalidCellIDException::InvalidCellIDException ( int  cellID)
inline

Constructor, setting cell ID raising the exception.

Parameters
cellIDCell ID raising the exception

Definition at line 135 of file GeometryBase.h.

◆ ~InvalidCellIDException()

o2::emcal::InvalidCellIDException::~InvalidCellIDException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getCellID()

int o2::emcal::InvalidCellIDException::getCellID ( ) const
inlinenoexcept

Access to cell ID raising the exception.

Returns
Cell ID

Definition at line 146 of file GeometryBase.h.

◆ what()

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

Access to error message of the exception.

Returns
Error message

Definition at line 150 of file GeometryBase.h.


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