#include <Exception.h>
Public Member Functions | |
void | addAdditionalInfo (std::string const &info) |
void | addAdditionalInfo (char const *info) |
void | addContext (std::string const &context) |
void | addContext (char const *context) |
std::list< std::string > const & | additionalInfo () const |
bool | alreadyPrinted () const |
void | append (Exception const &another) |
void | append (std::string const &more_information) |
void | append (char const *more_information) |
std::string const & | category () const |
void | clearAdditionalInfo () |
void | clearContext () |
void | clearMessage () |
virtual Exception * | clone () const |
std::list< std::string > const & | context () const |
Exception (std::string const &aCategory) | |
Exception (char const *aCategory) | |
Exception (std::string const &aCategory, std::string const &message) | |
Exception (char const *aCategory, std::string const &message) | |
Exception (std::string const &aCategory, char const *message) | |
Exception (char const *aCategory, char const *message) | |
Exception (std::string const &aCategory, std::string const &message, Exception const &another) | |
Exception (Exception const &other) | |
virtual std::string | explainSelf () const |
std::list< std::string > | history () const |
std::string | message () const |
Exception & | operator= (Exception const &other) |
void | raise () |
int | returnCode () const |
void | setAdditionalInfo (std::list< std::string > const &info) |
void | setAlreadyPrinted (bool value) |
void | setContext (std::list< std::string > const &context) |
void | swap (Exception &other) |
char const * | what () const noexceptoverride |
~Exception () noexceptoverride | |
Private Member Functions | |
void | init (std::string const &message) |
virtual void | rethrow () |
virtual int | returnCode_ () const |
Private Attributes | |
std::list< std::string > | additionalInfo_ |
bool | alreadyPrinted_ |
std::string | category_ |
std::list< std::string > | context_ |
std::ostringstream | ost_ |
std::string | what_ |
Friends | |
template<typename E , typename T > | |
detail::Desired< E, detail::is_derived_or_same < Exception, std::remove_reference_t< E > >::value >::type & | operator<< (E &&e, T const &stuff) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, std::remove_reference_t< E > >::value >::type & | operator<< (E &&e, std::ostream &(*f)(std::ostream &)) |
template<typename E > | |
detail::Desired< E, detail::is_derived_or_same < Exception, std::remove_reference_t< E > >::value >::type & | operator<< (E &&e, std::ios_base &(*f)(std::ios_base &)) |
Definition at line 70 of file Exception.h.
|
explicit |
Definition at line 6 of file Exception.cc.
Referenced by clone().
|
explicit |
Definition at line 9 of file Exception.cc.
Exception::Exception | ( | std::string const & | aCategory, |
std::string const & | message | ||
) |
Definition at line 18 of file Exception.cc.
References init().
Exception::Exception | ( | char const * | aCategory, |
std::string const & | message | ||
) |
Exception::Exception | ( | std::string const & | aCategory, |
char const * | message | ||
) |
Definition at line 34 of file Exception.cc.
References init(), and AlCaHLTBitMon_QueryRunRegistry::string.
Exception::Exception | ( | char const * | aCategory, |
char const * | message | ||
) |
Definition at line 39 of file Exception.cc.
References init(), and AlCaHLTBitMon_QueryRunRegistry::string.
Exception::Exception | ( | std::string const & | aCategory, |
std::string const & | message, | ||
Exception const & | another | ||
) |
Exception::Exception | ( | Exception const & | other | ) |
|
overridenoexcept |
Definition at line 86 of file Exception.cc.
void Exception::addAdditionalInfo | ( | std::string const & | info | ) |
Definition at line 169 of file Exception.cc.
References additionalInfo_.
Referenced by edm::ThinnedAssociationsHelper::addAssociation(), XrdAdaptor::RequestManager::addConnections(), XrdAdaptor::ClientRequest::HandleResponse(), edm::Path::handleWorkerFailure(), XrdAdaptor::RequestManager::initialize(), edm::RootInputFileSequence::initTheFile(), edm::storage::StorageFactory::open(), operator<<(), DQMRootSource::readFile_(), XrdAdaptor::RequestManager::requestFailure(), edm::EventProcessor::runToCompletion(), and XrdAdaptor::RequestManager::splitClientRequest().
void Exception::addAdditionalInfo | ( | char const * | info | ) |
Definition at line 171 of file Exception.cc.
References additionalInfo_, and AlCaHLTBitMon_QueryRunRegistry::string.
void Exception::addContext | ( | std::string const & | context | ) |
Definition at line 165 of file Exception.cc.
References context_.
Referenced by edm::storage::DavixFile::abort(), edm::ThinnedAssociationsHelper::addAssociation(), edm::addContextAndPrintException(), edm::UnscheduledCallProducer::addContextToException(), edm::ProductRegistry::addElementTypesForAliases(), edm::eventsetup::ComponentFactory< T >::addTo(), edm::addToMissingDictionariesException(), edm::eventsetup::EventSetupRecordImpl::addTraceInfoToCmsException(), edm::eventsetup::EventSetupRecord::addTraceInfoToCmsException(), L1GlobalTriggerObjectMaps::algorithmResult(), L1GlobalTriggerObjectMaps::AlgorithmResult::AlgorithmResult(), CompareToObjectMapRecord::analyze(), edm::EventProcessor::beginJob(), edm::Worker::beginJob(), edm::Worker::beginStream(), edm::storage::LocalCacheFile::cache(), edm::storage::DavixStorageMaker::check(), trackerDTC::Setup::checkDTCId(), trackerDTC::Setup::checkGeometry(), trackerDTC::Setup::checkTFPIdentifier(), trackerDTC::Setup::checkTKLayoutId(), cms::cuda::chooseDevice(), edm::storage::DavixFile::close(), L1GlobalTriggerObjectMaps::consistencyCheck(), edm::serviceregistry::ServicesManager::createServiceFor(), edm::EDLooperBase::doDuringLoop(), trackerDTC::Setup::encodeLayerId(), edm::Worker::endJob(), edm::Worker::endStream(), edm::exceptionContext(), edm::Path::exceptionContext(), edm::Schedule::fillModuleAndConsumesInfo(), edm::StreamSchedule::finishedPaths(), edm::storage::XrdFile::getActiveFile(), XrdAdaptor::RequestManager::getActiveFile(), L1GlobalTriggerObjectMaps::getCombinationsInCondition(), L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::getConditionResult(), edm::RootTree::getEntry(), L1GlobalTriggerObjectMaps::CombinationsInCondition::getObjectIndex(), edm::RootDelayedReader::getProduct_(), edm::eventsetup::DependentRecordImplementation< EcalMappingRcd, edm::mpl::Vector< EcalMappingElectronicsRcd > >::getRecord(), L1GlobalTriggerObjectMaps::getStartEndIndex(), fwlite::DataGetterHelper::getThinnedKeyFrom(), BareRootProductGetter::getThinnedKeyFrom(), edm::EventPrincipal::getThinnedKeyFrom(), XrdAdaptor::Source::handle(), XrdAdaptor::RequestManager::handle(), XrdAdaptor::ClientRequest::HandleResponse(), XrdAdaptor::RequestManager::OpenHandler::HandleResponseWithHosts(), edm::BranchDescription::initFromDictionary(), XrdAdaptor::RequestManager::initialize(), edm::RootInputFileSequence::initTheFile(), edmplugin::PluginManager::load(), edm::storage::LocalCacheFile::LocalCacheFile(), edm::makeInput(), nowrite(), edm::storage::DavixFile::open(), edm::storage::DCacheFile::open(), edm::storage::XrdFile::open(), edm::storage::StorageFactory::open(), XrdAdaptor::RequestManager::OpenHandler::open(), edm::StreamerInputFile::openStreamerFile(), operator<<(), XrdAdaptor::RequestManager::pickSingleSource(), edm::storage::DavixFile::position(), edm::storage::DCacheFile::position(), edm::storage::XrdFile::position(), ConvertObjectMapRecord::produce(), trackerDTC::Setup::produceSensorModules(), edm::storage::DCacheFile::read(), edm::storage::DavixFile::read(), edm::storage::XrdFile::read(), edm::StreamerInputFile::readBytes(), DQMRootSource::readFile_(), edm::storage::DavixFile::readv(), edm::storage::DCacheFile::readv(), edm::storage::XrdFile::readv(), edm::Worker::registerThinnedAssociations(), XrdAdaptor::RequestManager::requestFailure(), edm::storage::DavixFile::resize(), edm::storage::XrdFile::resize(), trackerDTC::Setup::sensorModule(), edm::storage::XrdStorageMaker::setDebugLevel(), TTDTC::setStream(), edm::StreamerInputFile::skipBytes(), XrdAdaptor::RequestManager::splitClientRequest(), edm::storage::DCacheStorageMaker::stagein(), TTDTC::stream(), edm::Maker::throwConfigurationException(), throwStorageError(), edm::Maker::throwValidationException(), edmplugin::PluginManager::tryToLoad(), L1GlobalTriggerObjectMaps::updateOperandTokenVector(), edm::eventsetup::validateEventSetupParameters(), edm::validateLooper(), edm::validateTopLevelParameterSets(), edm::storage::DCacheFile::write(), edm::storage::DavixFile::write(), edm::storage::XrdFile::write(), edm::ConfigurationDescriptions::writeCfiForLabel(), and edm::RootOutputFile::writeIndexIntoFile().
void Exception::addContext | ( | char const * | context | ) |
Definition at line 167 of file Exception.cc.
References context_, and AlCaHLTBitMon_QueryRunRegistry::string.
std::list< std::string > const & Exception::additionalInfo | ( | ) | const |
Definition at line 149 of file Exception.cc.
References additionalInfo_.
Referenced by DQMRootSource::readFile_().
bool Exception::alreadyPrinted | ( | ) | const |
Definition at line 177 of file Exception.cc.
References alreadyPrinted_.
Referenced by edm::EventProcessor::runToCompletion().
void Exception::append | ( | Exception const & | another | ) |
Definition at line 153 of file Exception.cc.
References message(), and ost_.
Referenced by diclist.diclist::add(), edm::eventsetup::NoDataExceptionBase::constructMessage(), Exception(), StripClusterizerAlgorithm::InvalidChargeException::InvalidChargeException(), edm::eventsetup::MakeDataException::MakeDataException(), edm::eventsetup::makeEventSetupProvider(), and BeautifulSoup.Tag::setString().
void Exception::append | ( | std::string const & | more_information | ) |
Definition at line 155 of file Exception.cc.
References ost_.
Referenced by diclist.diclist::add(), and BeautifulSoup.Tag::setString().
void Exception::append | ( | char const * | more_information | ) |
Definition at line 157 of file Exception.cc.
References ost_.
Referenced by diclist.diclist::add(), and BeautifulSoup.Tag::setString().
std::string const & Exception::category | ( | void | ) | const |
Definition at line 143 of file Exception.cc.
References category_.
Referenced by TritonException::convertToWarning(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::finishedPaths(), edm::Path::handleWorkerFailure(), main(), CachedTrajectory::propagate(), edm::Worker::shouldRethrowException(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
void Exception::clearAdditionalInfo | ( | ) |
Definition at line 163 of file Exception.cc.
References additionalInfo_.
Referenced by XrdAdaptor::RequestManager::initialize().
void Exception::clearContext | ( | ) |
Definition at line 161 of file Exception.cc.
References context_.
Referenced by XrdAdaptor::RequestManager::initialize().
void Exception::clearMessage | ( | ) |
Definition at line 159 of file Exception.cc.
References ost_.
Referenced by XrdAdaptor::RequestManager::initialize(), edm::storage::StorageFactory::open(), and edm::StreamerInputFile::openStreamerFile().
|
virtual |
Reimplemented in edm::Exception, and edm::MultipleException.
Definition at line 181 of file Exception.cc.
References Exception().
Referenced by edm::ExceptionCollector::addException(), edm::ExceptionCollector::call(), and edm::Path::workerFinished().
std::list< std::string > const & Exception::context | ( | ) | const |
Definition at line 147 of file Exception.cc.
References context_.
Referenced by edm::StreamSchedule::finishedPaths(), edm::StreamSchedule::finishProcessOneEvent(), edm::Path::handleWorkerFailure(), edm::GlobalSchedule::processOneGlobalAsync(), edm::StreamSchedule::processOneStreamAsync(), and setContext().
|
virtual |
Definition at line 108 of file Exception.cc.
References additionalInfo_, c, category_, context_, submitPVResolutionJobs::count, mps_fire::i, ost_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ExceptionCollector::addException(), edm::ExceptionCollector::call(), edm::storage::StorageFactory::check(), TritonException::convertToWarning(), DTT0Correction::endJob(), DTVDriftWriter::endJob(), DTTTrigCorrection::endJob(), L1GtUtils::LogicalExpressionL1Results::initialize(), main(), cms::operator<<(), edm::printCmsException(), edm::printCmsExceptionWarning(), CachedTrajectory::propagate(), ConversionVertexFinder::run(), edm::storage::StorageFactory::stagein(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), MuonUpdatorAtVertex::update(), and what().
std::list< std::string > Exception::history | ( | ) | const |
|
private |
Definition at line 50 of file Exception.cc.
References message(), and ost_.
Referenced by Exception().
std::string Exception::message | ( | ) | const |
Definition at line 145 of file Exception.cc.
References ost_.
Referenced by append(), edm::eventsetup::NoDataExceptionBase::constructMessage(), Exception(), init(), and edm::storage::StorageFactory::open().
|
inline |
Definition at line 101 of file Exception.h.
Referenced by HLTBTagHarvestingAnalyzer::GetNumDenumerators(), edm::Path::handleWorkerFailure(), edm::es::Label::operator()(), and edm::helper::Filler< Association< C > >::throwFillID().
|
privatevirtual |
int Exception::returnCode | ( | ) | const |
Definition at line 151 of file Exception.cc.
References returnCode_().
Referenced by edm::addContextAndPrintException(), edm::ExceptionCollector::addException(), and edm::ExceptionCollector::call().
|
privatevirtual |
Reimplemented in edm::Exception, and edm::MultipleException.
Definition at line 185 of file Exception.cc.
Referenced by returnCode().
void Exception::setAdditionalInfo | ( | std::list< std::string > const & | info | ) |
Definition at line 175 of file Exception.cc.
References additionalInfo_, and info().
void Exception::setAlreadyPrinted | ( | bool | value | ) |
Definition at line 179 of file Exception.cc.
References alreadyPrinted_, and relativeConstraints::value.
Referenced by edm::addContextAndPrintException().
void Exception::setContext | ( | std::list< std::string > const & | context | ) |
Definition at line 173 of file Exception.cc.
References context(), and context_.
void Exception::swap | ( | Exception & | other | ) |
Definition at line 88 of file Exception.cc.
References additionalInfo_, alreadyPrinted_, category_, context_, ost_, std::swap(), and what_.
Referenced by operator=().
|
overridenoexcept |
Definition at line 103 of file Exception.cc.
References explainSelf(), and what_.
Referenced by AdaptiveVertexReconstructor::AdaptiveVertexReconstructor(), FWRecoGeometryESProducer::addGEMGeometry(), FWTGeoRecoGeometryESProducer::addGEMGeometry(), FWRecoGeometryESProducer::addME0Geometry(), FWTGeoRecoGeometryESProducer::addME0Geometry(), MeasurementTrackerImpl::addPhase2Det(), MeasurementTrackerImpl::addPixelDet(), MeasurementTrackerImpl::addStripDet(), L1CondDBPayloadWriterExt::analyze(), SiStripDetVOffFakeBuilder::analyze(), cms::SiPixelPerformanceSummaryBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiPixelVCalDB::analyze(), SiPixelDynamicInefficiencyDB::analyze(), AlcaBeamMonitor::analyze(), L1CondDBPayloadWriter::analyze(), cms::SiPixelCondObjBuilder::analyze(), cms::SiPixelCondObjForHLTBuilder::analyze(), cms::SiPixelCondObjOfflineBuilder::analyze(), SiStripSpyMonitorModule::analyze(), PrimaryVertexValidation::analyze(), FWPFCandidateDetailView::build(), FWPFPatJet3DProxyBuilder< T >::build(), FWTrackProxyBuilderFullFramework::build(), FWPFCandidateDetailView::buildGLEventScene(), magneticfield::MagGeoBuilder::buildInterpolator(), MagGeoBuilderFromDDD::buildInterpolator(), CSCSectorReceiverLUT::calcGlobalPhiME(), edm::service::MessageServicePSetValidation::check(), dqmservices::DQMStreamerReader::checkNext(), SiPixelGainCalibScaler::computeAndStorePalyoads(), PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::Factory::create(), EcalZmassClient::dqmEndJob(), SiPixelLorentzAnglePCLHarvester::dqmEndJob(), FWModelChangeManager::endChanges(), FWFFLooper::endOfLoop(), cond::persistency::Session::fetchPayload(), SiStripMonitorPedestals::fillCondDBMEs(), sistrip::SpyEventMatcherModule::filter(), TrackerOfflineValidationSummary::fitResiduals(), TrackerOfflineValidation::fitResiduals(), EcalLaserCondTools::from_hdf_to_db(), CSCSectorReceiverLUT::getGlobalEtaValue(), CSCSectorReceiverLUT::getGlobalPhiValue(), AlcaBeamMonitor::globalBeginLuminosityBlock(), SiStripConfigDb::handleException(), edm::MessageLoggerQ::handshakedCommand(), L1GtUtils::LogicalExpressionL1Results::initialize(), PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::inspect(), SiPixelGainCalibrationOfflineService::isDead(), SiPixelGainCalibrationService::isDead(), SiPixelGainCalibrationOfflineSimService::isDead(), SiPixelGainCalibrationForHLTSimService::isDead(), SiPixelGainCalibrationForHLTService::isDead(), SiPixelGainCalibrationOfflineService::isDeadColumn(), SiPixelGainCalibrationOfflineSimService::isDeadColumn(), SiPixelGainCalibrationForHLTSimService::isDeadColumn(), SiPixelGainCalibrationForHLTService::isDeadColumn(), SiPixelGainCalibrationOfflineService::isNoisy(), SiPixelGainCalibrationService::isNoisy(), SiPixelGainCalibrationOfflineSimService::isNoisy(), SiPixelGainCalibrationForHLTSimService::isNoisy(), SiPixelGainCalibrationForHLTService::isNoisy(), SiPixelGainCalibrationOfflineService::isNoisyColumn(), SiPixelGainCalibrationOfflineSimService::isNoisyColumn(), SiPixelGainCalibrationForHLTSimService::isNoisyColumn(), SiPixelGainCalibrationForHLTService::isNoisyColumn(), main(), dqmservices::DQMStreamerReader::openNextFileImp_(), tfwliteselectortest::ThingsWorker::process(), tfwliteselectortest::ThingsTSelector::process(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), EcalLaserCondTools::processIov(), PhotonConversionTrajectorySeedProducerFromQuadruplets::produce(), CastorDigiToRaw::produce(), EcalDCCTBUnpackingModule::produce(), HcalDigiToRaw::produce(), EcalDCCTB07UnpackingModule::produce(), CaloTruthCellsProducer::produce(), HcalRawToDigi::produce(), CSCTFUnpacker::produce(), CastorRawToDigi::produce(), sistrip::FEDEmulatorModule::produce(), PYBIND11_MODULE(), edm::storage::XrdFile::readv(), RecoProducerFP420::RecoProducerFP420(), sistrip::FEDEmulator::retrieveNoises(), sistrip::FEDEmulator::retrievePedestals(), cond::Utilities::run(), edm::service::ThreadSafeLogMessageLoggerScribe::runCommand(), FWPathsPopup::scheduleReloadEvent(), cond::persistency::Session::storePayload< std::string >(), dqmservices::DQMStreamerReader::skip(), edm::convertException::stdToEDM(), cond::persistency::Session::storePayload(), SiStripPedestalsSubtractor::subtract_(), and DTCalibDBUtils::writeToDB().
|
friend |
Definition at line 202 of file Exception.h.
|
friend |
Definition at line 209 of file Exception.h.
|
friend |
Definition at line 216 of file Exception.h.
|
private |
Definition at line 189 of file Exception.h.
Referenced by addAdditionalInfo(), additionalInfo(), clearAdditionalInfo(), explainSelf(), setAdditionalInfo(), and swap().
|
private |
Definition at line 190 of file Exception.h.
Referenced by alreadyPrinted(), setAlreadyPrinted(), and swap().
|
private |
Definition at line 185 of file Exception.h.
Referenced by category(), explainSelf(), history(), and swap().
|
private |
Definition at line 188 of file Exception.h.
Referenced by addContext(), clearContext(), context(), explainSelf(), setContext(), and swap().
|
private |
Definition at line 184 of file Exception.h.
Referenced by append(), clearMessage(), Exception(), explainSelf(), init(), message(), and swap().
|
mutableprivate |
Definition at line 187 of file Exception.h.