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

Handling error for invalid positions in row-column space. More...

#include <GeometryBase.h>

Inherits std::exception.

Public Member Functions

 RowColException (int row, int col)
 Constructor, initializing the exception with invalid row-column position.
 
 ~RowColException () noexcept final=default
 Destructor.
 
int getRow () const noexcept
 Get row of the position raising the exception.
 
int getCol () const noexcept
 Get column of the position raising the exception.
 
const char * what () const noexcept final
 Access tp error message of the exception.
 

Detailed Description

Handling error for invalid positions in row-column space.

Definition at line 207 of file GeometryBase.h.

Constructor & Destructor Documentation

◆ RowColException()

o2::emcal::RowColException::RowColException ( int  row,
int  col 
)
inline

Constructor, initializing the exception with invalid row-column position.

Parameters
rowRow ID of the position
colColumn ID of the position

Definition at line 213 of file GeometryBase.h.

◆ ~RowColException()

o2::emcal::RowColException::~RowColException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getCol()

int o2::emcal::RowColException::getCol ( ) const
inlinenoexcept

Get column of the position raising the exception.

Column ID

Definition at line 227 of file GeometryBase.h.

◆ getRow()

int o2::emcal::RowColException::getRow ( ) const
inlinenoexcept

Get row of the position raising the exception.

Returns
Row ID

Definition at line 223 of file GeometryBase.h.

◆ what()

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

Access tp error message of the exception.

Returns
Error message

Definition at line 231 of file GeometryBase.h.


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