List of all members | Public Member Functions | Public Attributes | Protected Attributes
utl::NonExistentComponentException Class Reference

Base class for exceptions trying to access non-existing components. More...

#include "utl/AugerException.h"

Inheritance diagram for utl::NonExistentComponentException:
Inheritance graph
[legend]

Public Member Functions

const std::string & GetMessage () const
 Retrieve the message from the exception. More...
 
const char * what () const throw ()
 std::exception will print this on crash More...
 

Public Attributes

 __pad0__: AugerException(message) { } virtual std::string GetExceptionName() const { return "Access to non-existent sub-component exception"
 Construct non-existent sub-object exception with message. More...
 

Protected Attributes

std::string fMessage
 

Detailed Description

Base class for exceptions trying to access non-existing components.

The access protocol for composit objects like the evt::Event states that an exception is thrown when calling the getter function for a non-existing sub-component (i.e., the pointer to the sub-component is NULL). This class is the base class for all exceptions thrown in this case.

Definition at line 59 of file AugerException.h.

Member Function Documentation

const std::string& utl::AugerException::GetMessage ( ) const
inlineinherited

Retrieve the message from the exception.

Definition at line 38 of file AugerException.h.

References utl::AugerException::fMessage.

Referenced by otoa::SD2ADST::AddStations(), FdProfileConstrainedGeometryFit::PCGFitter::AdjustGeometry(), FdProfileConstrainedGeometryFitPG::PCGFitter::AdjustGeometry(), FdCalibratorOG::FdCalibrator::ApplyCalibration(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateEfficiency(), otoa::FOVCalculator::CalculateFOVBoundaries(), SdHistogramFitterKG::SdHistogramFitter::CalculatePeakAndCharge(), SdHistogramFitterOG::SdHistogramFitter::CalculatePeakAndCharge(), SdCalibratorOG::SdCalibrator::CalculatePeakAndCharge(), FdEnergyDepositFinderKG::ProfileCalculator::CalculateProfile(), FdEnergyDepositFinderKG::CFMatrixCalculator::CalculateTelescopeData(), otoa::FOVCalculator::FdUpAndRunning(), FdCalibratorOG::FdCalibrator::FillChannelRecData(), otoa::FD2ADST::FillCloudsBetweenEyeAndShower(), otoa::Detector2ADST::FillDetector(), otoa::Offline2ADST::FillDetectorGeometryIncremental(), otoa::FD2ADST::FillFdRecStations(), otoa::FOVCalculator::FillFOVVariables(), otoa::Detector2ADST::FillGOESData(), otoa::LongitudinalXmaxScanner::FillLightFactors(), fwk::CentralConfig::FillMap(), FdCalibratorOG::FdCalibrator::FillTriggerData(), FdProfileConstrainedGeometryFitPG::FdProfileConstrainedGeometryFit::GetDataFromPreviousFit(), fwk::RunController::Init(), main(), otoa::MD2ADST::MakeCounter(), io::EventFileChain::OpenCurrent(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PrepareEyeCopy(), Parser::ReadStrToTime(), ReadCloudLLNS::ReadCloudLL::Run(), ReadAerosolHLNS::ReadAerosolHL::Run(), ReadCloudHLNS::ReadCloudHL::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::Run(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), ReaderTest::testAttributes(), ReaderTest::testFunction(), testParameterStorage::testHasSetGet(), and ReaderTest::testWarning().

const char* utl::AugerException::what ( ) const
throw (
)
inlineinherited

Member Data Documentation

utl::NonExistentComponentException::__pad0__

Construct non-existent sub-object exception with message.

Definition at line 67 of file AugerException.h.

std::string utl::AugerException::fMessage
protectedinherited

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

, generated on Tue Sep 26 2023.