#include <Exception.h>
Public Types | |
typedef std::string | Category |
typedef std::list< Category > | CategoryList |
Public Member Functions | |
void | append (Exception const &another) |
void | append (std::string const &more_information) |
void | append (char const *more_information) |
std::string | category () const |
Exception (Category const &category) | |
Exception (Category const &category, std::string const &message) | |
Exception (Category const &category, std::string const &message, Exception const &another) | |
Exception (Exception const &other) | |
virtual std::string | explainSelf () const |
CategoryList const & | history () const |
void | raise () |
std::string | rootCause () const |
virtual char const * | what () const throw () |
virtual | ~Exception () throw () |
Private Member Functions | |
virtual std::exception * | clone () const |
virtual void | rethrow () |
Private Attributes | |
CategoryList | category_ |
std::ostringstream | ost_ |
std::string | what_ |
Friends | |
template<typename E , typename T > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type & | operator<< (E &e, T const &stuff) |
template<typename E , typename T > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type const & | operator<< (E const &e, T const &stuff) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type & | operator<< (E &e, std::ostream &(*f)(std::ostream &)) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type const & | operator<< (E const &e, std::ostream &(*f)(std::ostream &)) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type & | operator<< (E &e, std::ios_base &(*f)(std::ios_base &)) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, E >::value > ::type const & | operator<< (E const &e, std::ios_base &(*f)(std::ios_base &)) |
Definition at line 104 of file Exception.h.
typedef std::string cms::Exception::Category |
Definition at line 106 of file Exception.h.
Definition at line 107 of file Exception.h.
|
explicit |
Exception::Exception | ( | Category const & | category, |
std::string const & | message | ||
) |
Exception::Exception | ( | Category const & | category, |
std::string const & | message, | ||
Exception const & | another | ||
) |
Definition at line 28 of file Exception.cc.
References append(), category(), category_, argparse::message, and ost_.
Exception::Exception | ( | Exception const & | other | ) |
|
virtual |
Reimplemented in edm::Exception, ora::Exception, cond::Exception, and popcon::Exception.
Definition at line 53 of file Exception.cc.
void Exception::append | ( | Exception const & | another | ) |
Definition at line 82 of file Exception.cc.
References explainSelf(), and ost_.
Referenced by hltFindDuplicates.ModuleList::__init__(), edm::eventsetup::ComponentFactory< T >::addTo(), edm::eventsetup::NoDataExceptionBase::constructMessage(), edm::serviceregistry::ServicesManager::createServices(), Exception(), hltFindDuplicates.ModuleList::extend(), StripClusterizerAlgorithm::InvalidChargeException::InvalidChargeException(), edm::eventsetup::MakeDataException::MakeDataException(), edm::eventsetup::makeEventSetupProvider(), edm::makeInput(), edm::Maker::throwConfigurationException(), and edm::eventsetup::validateEventSetupParameters().
void Exception::append | ( | std::string const & | more_information | ) |
Definition at line 86 of file Exception.cc.
References ost_.
Referenced by hltFindDuplicates.ModuleList::__init__(), and hltFindDuplicates.ModuleList::extend().
void Exception::append | ( | char const * | more_information | ) |
Definition at line 90 of file Exception.cc.
References ost_.
Referenced by hltFindDuplicates.ModuleList::__init__(), and hltFindDuplicates.ModuleList::extend().
std::string Exception::category | ( | ) | const |
Definition at line 74 of file Exception.cc.
References category_.
Referenced by edm::DaqSource::DaqSource(), edm::EDLooperBase::doDuringLoop(), Exception(), explainSelf(), edm::Path::handleWorkerFailure(), main(), edm::Schedule::processOneOccurrence(), CachedTrajectory::propagate(), edm::EventProcessor::readAndProcessEvent(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
|
privatevirtual |
Reimplemented in Genexception, BaseGenexception, and Fastexception.
Definition at line 102 of file Exception.cc.
References Exception().
|
virtual |
Reimplemented in Fastexception, and CMSexception.
Definition at line 56 of file Exception.cc.
References category(), and ost_.
Referenced by append(), edm::EventProcessor::asyncRun(), ConvertedPhotonProducer::buildCollections(), StorageFactory::check(), evf::FUEventProcessor::configuring(), evf::FUEventProcessor::enableCommon(), DTVDriftWriter::endJob(), DTTTrigCorrection::endJob(), edm::Schedule::endJob(), edm::roottree::getEntry(), smproxy::SMProxyServer::handleFSMSoapMessage(), stor::StorageManager::handleFSMSoapMessage(), evf::FWEPWrapper::init(), edm::RootInputFileSequence::initFile(), edm::StreamerInputFile::openStreamerFile(), cms::operator<<(), edm::printCmsException(), CachedTrajectory::propagate(), edm::StreamerInputFile::readBytes(), ConversionVertexFinder::run(), edm::StreamerInputFile::skipBytes(), StorageFactory::stagein(), evf::FWEPWrapper::stop(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), MuonUpdatorAtVertex::update(), what(), edm::EventProcessor::~EventProcessor(), statemachine::HandleLumis::~HandleLumis(), and statemachine::HandleRuns::~HandleRuns().
Exception::CategoryList const & Exception::history | ( | ) | const |
Definition at line 70 of file Exception.cc.
References category_.
Referenced by cms::TrackListMerger::produce().
|
inline |
Definition at line 128 of file Exception.h.
References rethrow().
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Event::getByLabel(), edm::es::Label::operator()(), and edm::helper::Filler< Association< C > >::throwFillID().
|
privatevirtual |
Reimplemented in edm::Exception, Genexception, BaseGenexception, and Fastexception.
Definition at line 106 of file Exception.cc.
Referenced by raise().
std::string Exception::rootCause | ( | ) | const |
Definition at line 78 of file Exception.cc.
References category_.
Referenced by edm::EDLooperBase::doDuringLoop(), edm::Worker::doWork(), edm::Path::handleWorkerFailure(), edm::Schedule::processOneOccurrence(), and edm::EventProcessor::readAndProcessEvent().
|
virtual |
Reimplemented in BaseGenexception, Fastexception, and CMSexception.
Definition at line 97 of file Exception.cc.
References explainSelf(), and what_.
Referenced by AdaptiveVertexReconstructor::AdaptiveVertexReconstructor(), MeasurementTracker::addStripDet(), SiStripDetVOffFakeBuilder::analyze(), MultiTrackValidator::analyze(), SiPixelLorentzAngleDB::analyze(), AlcaBeamMonitor::analyze(), L1CondDBPayloadWriter::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), SiStripSpyMonitorModule::analyze(), PrimaryVertexValidation::analyze(), MuonTrackValidator::analyze(), evf::FUEventProcessor::attachDqmToShm(), AlcaBeamMonitor::beginLuminosityBlock(), GeometricSearchTrackerBuilder::build(), MagGeoBuilderFromDDD::buildInterpolator(), LocalCacheFile::cache(), CSCSectorReceiverLUT::calcGlobalPhiME(), edm::ExceptionCollector::call(), edm::service::MessageServicePSetValidation::check(), FWBeamSpot::checkBeamSpot(), PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::Factory::create(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), evf::FUEventProcessor::detachDqmFromShm(), edm::EDLooperBase::doDuringLoop(), edm::Worker::doWork(), UncatchedException::dump(), FWModelChangeManager::endChanges(), edm::Schedule::endJob(), exceptionTranslation(), sistrip::RawToClustersLazyUnpacker::fill(), SiStripMonitorPedestals::fillCondDBMEs(), SiStripNoisesDQM::fillMEsForDet(), SiStripApvGainsDQM::fillMEsForDet(), SiStripPedestalsDQM::fillMEsForDet(), SiStripThresholdDQM::fillMEsForDet(), SiStripQualityDQM::fillMEsForDet(), SiStripNoisesDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), NuclearVertexBuilder::FillVertexWithAdaptVtxFitter(), LaserAlignmentEventFilter::filter(), TrackerOfflineValidationSummary::fitResiduals(), TrackerOfflineValidation::fitResiduals(), edm::EventProcessor::forkProcess(), CSCSectorReceiverLUT::getGlobalEtaValue(), CSCSectorReceiverLUT::getGlobalPhiValue(), HcalO2OManager::getListOfPoolIovs(), HcalO2OManager::getListOfPoolTags(), SiStripConfigDb::handleException(), edm::Path::handleWorkerFailure(), edm::MessageLoggerQ::handshakedCommand(), stor::EventStreamSelector::initialize(), stor::EventConsumerSelector::initialize(), SiPixelGainCalibrationForHLTService::isDead(), SiPixelGainCalibrationOfflineService::isDead(), SiPixelGainCalibrationService::isDead(), SiPixelGainCalibrationForHLTSimService::isDead(), SiPixelGainCalibrationOfflineSimService::isDead(), SiPixelGainCalibrationOfflineService::isDeadColumn(), SiPixelGainCalibrationForHLTService::isDeadColumn(), SiPixelGainCalibrationOfflineSimService::isDeadColumn(), SiPixelGainCalibrationForHLTSimService::isDeadColumn(), SiPixelGainCalibrationOfflineService::isNoisy(), SiPixelGainCalibrationForHLTService::isNoisy(), SiPixelGainCalibrationService::isNoisy(), SiPixelGainCalibrationOfflineSimService::isNoisy(), SiPixelGainCalibrationForHLTSimService::isNoisy(), SiPixelGainCalibrationOfflineService::isNoisyColumn(), SiPixelGainCalibrationForHLTService::isNoisyColumn(), SiPixelGainCalibrationOfflineSimService::isNoisyColumn(), SiPixelGainCalibrationForHLTSimService::isNoisyColumn(), main(), cond::BasePayloadProxy::make(), evf::FUEventProcessor::microState(), tfwliteselectortest::ThingsWorker::process(), tfwliteselectortest::ThingsTSelector::process(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), edm::Schedule::processOneOccurrence(), CastorDigiToRaw::produce(), HcalDigiToRaw::produce(), HcalRawToDigi::produce(), CastorRawToDigi::produce(), CSCTFUnpacker::produce(), SoftElectronProducer::produce(), EcalDCCTBUnpackingModule::produce(), EcalDCCTB07UnpackingModule::produce(), sistrip::SpyEventSummaryProducer::produce(), sistrip::FEDEmulatorModule::produce(), edm::EventProcessor::readAndProcessEvent(), RecoProducerFP420::RecoProducerFP420(), sistrip::FEDEmulator::retrieveNoises(), sistrip::FEDEmulator::retrievePedestals(), cond::Utilities::run(), KalmanAlignmentAlgorithm::run(), edm::service::MessageLoggerScribe::runCommand(), FWPathsPopup::scheduleReloadEvent(), SiStripPedestalsSubtractor::subtract_(), and DTCalibDBUtils::writeToDB().
|
friend |
Definition at line 228 of file Exception.h.
|
friend |
Definition at line 237 of file Exception.h.
|
friend |
Definition at line 247 of file Exception.h.
|
friend |
Definition at line 256 of file Exception.h.
|
friend |
Definition at line 266 of file Exception.h.
|
friend |
Definition at line 276 of file Exception.h.
|
private |
Definition at line 210 of file Exception.h.
Referenced by category(), Exception(), history(), and rootCause().
|
private |
Definition at line 209 of file Exception.h.
Referenced by append(), Exception(), and explainSelf().
|
mutableprivate |
Definition at line 211 of file Exception.h.
Referenced by what().