Functions | |
void | badAllocToEDM () |
void | charPtrToEDM (char const *c) |
void | stdToEDM (std::exception const &e) |
void | stringToEDM (std::string &s) |
void | unknownToEDM () |
void edm::convertException::badAllocToEDM | ( | ) |
Definition at line 8 of file ConvertException.cc.
References edm::errors::BadAlloc, dtNoiseDBValidation_cfg::cerr, and alignCSCRings::e.
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Worker::beginJob(), edm::ExceptionCollector::call(), edm::callWithTryCatchAndPrint(), edm::serviceregistry::ServicesManager::createServices(), edm::eventsetup::EventSetupRecord::doGet(), edm::Worker::doWork(), edm::Worker::endJob(), edm::Schedule::endJob(), edm::eventsetup::EventSetupRecord::getFromProxy(), edm::makeInput(), edm::Maker::makeWorker(), edm::Path::processOneOccurrence(), edm::Schedule::processOneOccurrence(), and edm::eventsetup::validateEventSetupParameters().
{ std::cerr << "\nstd::bad_alloc exception" << std::endl; edm::Exception e(edm::errors::BadAlloc); e << "A std::bad_alloc exception was thrown.\n" << "The job has probably exhausted the virtual memory available to the process.\n"; throw e; }
void edm::convertException::charPtrToEDM | ( | char const * | c | ) |
Definition at line 30 of file ConvertException.cc.
References edm::errors::BadExceptionType, trackerHits::c, and alignCSCRings::e.
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Worker::beginJob(), edm::ExceptionCollector::call(), edm::callWithTryCatchAndPrint(), edm::serviceregistry::ServicesManager::createServices(), edm::eventsetup::EventSetupRecord::doGet(), edm::Worker::doWork(), edm::Worker::endJob(), edm::Schedule::endJob(), edm::eventsetup::EventSetupRecord::getFromProxy(), edm::makeInput(), edm::Maker::makeWorker(), edm::Path::processOneOccurrence(), edm::Schedule::processOneOccurrence(), and edm::eventsetup::validateEventSetupParameters().
{ edm::Exception e(edm::errors::BadExceptionType); e << "A const char* was thrown as an exception.\n" << c; throw e; }
void edm::convertException::stdToEDM | ( | std::exception const & | e | ) |
Definition at line 16 of file ConvertException.cc.
References edm::errors::StdException, and cms::Exception::what().
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Worker::beginJob(), edm::ExceptionCollector::call(), edm::callWithTryCatchAndPrint(), edm::serviceregistry::ServicesManager::createServices(), edm::eventsetup::EventSetupRecord::doGet(), edm::Worker::doWork(), edm::Worker::endJob(), edm::Schedule::endJob(), edm::eventsetup::EventSetupRecord::getFromProxy(), edm::makeInput(), edm::Maker::makeWorker(), edm::Path::processOneOccurrence(), edm::Schedule::processOneOccurrence(), and edm::eventsetup::validateEventSetupParameters().
{ edm::Exception ex(edm::errors::StdException); ex << "A std::exception was thrown.\n" << e.what(); throw ex; }
void edm::convertException::stringToEDM | ( | std::string & | s | ) |
Definition at line 23 of file ConvertException.cc.
References edm::errors::BadExceptionType, alignCSCRings::e, and alignCSCRings::s.
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Worker::beginJob(), edm::ExceptionCollector::call(), edm::callWithTryCatchAndPrint(), edm::serviceregistry::ServicesManager::createServices(), edm::eventsetup::EventSetupRecord::doGet(), edm::Worker::doWork(), edm::Worker::endJob(), edm::Schedule::endJob(), edm::eventsetup::EventSetupRecord::getFromProxy(), edm::makeInput(), edm::Maker::makeWorker(), edm::Path::processOneOccurrence(), edm::Schedule::processOneOccurrence(), and edm::eventsetup::validateEventSetupParameters().
{ edm::Exception e(edm::errors::BadExceptionType); e << "A std::string was thrown as an exception.\n" << s; throw e; }
void edm::convertException::unknownToEDM | ( | ) |
Definition at line 37 of file ConvertException.cc.
References alignCSCRings::e, and edm::errors::Unknown.
Referenced by edm::eventsetup::ComponentFactory< T >::addTo(), edm::Worker::beginJob(), edm::ExceptionCollector::call(), edm::callWithTryCatchAndPrint(), edm::serviceregistry::ServicesManager::createServices(), edm::eventsetup::EventSetupRecord::doGet(), edm::Worker::doWork(), edm::Worker::endJob(), edm::Schedule::endJob(), edm::eventsetup::EventSetupRecord::getFromProxy(), edm::makeInput(), edm::Maker::makeWorker(), edm::Path::processOneOccurrence(), edm::Schedule::processOneOccurrence(), and edm::eventsetup::validateEventSetupParameters().
{ edm::Exception e(edm::errors::Unknown); e << "An exception of unknown type was thrown.\n"; throw e; }