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

Exception to use in case requested data not found in the database with detailed printout. More...

#include <AugerException.h>

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

Public Member Functions

 DataNotFoundInDBException (const std::string &table, const std::string &column, const std::map< std::string, std::string > &indexMap, const std::string &time)
 
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...
 
virtual ~DataNotFoundInDBException () throw ()
 

Public Attributes

 __pad0__: AugerException(message) { } virtual std::string GetExceptionName() const { return "Could not locate requested data in the database"
 

Protected Attributes

std::string fMessage
 

Private Attributes

std::string fColumnName
 
std::map< std::string,
std::string > 
fIndexMap
 
std::string fTableName
 
std::string fTime
 

Detailed Description

Exception to use in case requested data not found in the database with detailed printout.

This exception is thrown when data requested from a MySQL database is not found. The arguments passed to this exception are:

Alternatively, this exception can take a string argument in the constructor for cases when it is more convenient to compose the error message in the calling code.

Definition at line 213 of file AugerException.h.

Constructor & Destructor Documentation

utl::DataNotFoundInDBException::DataNotFoundInDBException ( const std::string &  table,
const std::string &  column,
const std::map< std::string, std::string > &  indexMap,
const std::string &  time 
)
inline

Definition at line 215 of file AugerException.h.

References fColumnName, fIndexMap, utl::AugerException::fMessage, fTableName, and fTime.

virtual utl::DataNotFoundInDBException::~DataNotFoundInDBException ( )
throw (
)
inlinevirtual

Definition at line 245 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::DataNotFoundInDBException::__pad0__

Definition at line 243 of file AugerException.h.

std::string utl::DataNotFoundInDBException::fColumnName
private

Definition at line 249 of file AugerException.h.

Referenced by DataNotFoundInDBException().

std::map<std::string, std::string> utl::DataNotFoundInDBException::fIndexMap
private

Definition at line 250 of file AugerException.h.

Referenced by DataNotFoundInDBException().

std::string utl::AugerException::fMessage
protectedinherited
std::string utl::DataNotFoundInDBException::fTableName
private

Definition at line 248 of file AugerException.h.

Referenced by DataNotFoundInDBException().

std::string utl::DataNotFoundInDBException::fTime
private

Definition at line 251 of file AugerException.h.

Referenced by DataNotFoundInDBException().


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

, generated on Tue Sep 26 2023.