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

#include <Mapper.h>

Inherits std::exception.

Public Member Functions

 AddressRangeException (int address, int maxaddress)
 Constructor initializing the exception.
 
 ~AddressRangeException () noexcept override=default
 Destructor.
 
const charwhat () const noexcept override
 Access to error message of the exception.
 
int getAddress () const noexcept
 Access to hardware address raising the exception.
 
int getMaxAddress () const noexcept
 Access to max hardware address in mapping.
 

Detailed Description

Definition at line 116 of file Mapper.h.

Constructor & Destructor Documentation

◆ AddressRangeException()

o2::emcal::Mapper::AddressRangeException::AddressRangeException ( int  address,
int  maxaddress 
)
inline

Constructor initializing the exception.

Parameters
addressHardware address raising the exception
maxaddressMaximum address in range

Definition at line 122 of file Mapper.h.

◆ ~AddressRangeException()

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

Destructor.

Member Function Documentation

◆ getAddress()

int o2::emcal::Mapper::AddressRangeException::getAddress ( ) const
inlinenoexcept

Access to hardware address raising the exception.

Returns
Hardware address

Definition at line 138 of file Mapper.h.

◆ getMaxAddress()

int o2::emcal::Mapper::AddressRangeException::getMaxAddress ( ) const
inlinenoexcept

Access to max hardware address in mapping.

Returns
Hardware address

Definition at line 142 of file Mapper.h.

◆ what()

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

Access to error message of the exception.

Returns
Error messages

Definition at line 134 of file Mapper.h.


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