Project
Loading...
Searching...
No Matches
o2::emcal::Mapper::ChannelNotFoundException Class Reference

Exception handling invalid channel ID. More...

#include <Mapper.h>

Inherits std::exception.

Public Member Functions

 ChannelNotFoundException (ChannelID id)
 Constructor initializing the exception.
 
 ~ChannelNotFoundException () noexcept override=default
 Destructor.
 
const charwhat () const noexcept override
 Access to error message of the exception.
 
const ChannelIDgetChannel () const
 Access to channel ID raising the exception.
 

Detailed Description

Exception handling invalid channel ID.

Definition at line 152 of file Mapper.h.

Constructor & Destructor Documentation

◆ ChannelNotFoundException()

o2::emcal::Mapper::ChannelNotFoundException::ChannelNotFoundException ( ChannelID  id)
inline

Constructor initializing the exception.

Parameters
idChannel ID rausing the exception

Definition at line 157 of file Mapper.h.

◆ ~ChannelNotFoundException()

o2::emcal::Mapper::ChannelNotFoundException::~ChannelNotFoundException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

◆ getChannel()

const ChannelID & o2::emcal::Mapper::ChannelNotFoundException::getChannel ( ) const
inline

Access to channel ID raising the exception.

Returns
Channel ID raising the exception

Definition at line 178 of file Mapper.h.

◆ what()

const char * o2::emcal::Mapper::ChannelNotFoundException::what ( ) const
inlineoverridenoexcept

Access to error message of the exception.

Returns
Error message

Definition at line 171 of file Mapper.h.


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