#include <EDMException.h>
Public Types | |
typedef errors::ErrorCodes | Code |
Public Member Functions | |
Code | categoryCode () const |
virtual Exception * | clone () const |
Exception (Code category) | |
Exception (Code category, std::string const &message) | |
Exception (Code category, char const *message) | |
Exception (Code category, std::string const &message, cms::Exception const &another) | |
Exception (Code category, char const *message, cms::Exception const &another) | |
Exception (Exception const &other) | |
Exception & | operator= (Exception const &other) |
void | swap (Exception &other) |
virtual | ~Exception () throw () |
Public Member Functions inherited from cms::Exception | |
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 () |
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) |
virtual char const * | what () const throw () |
Static Public Member Functions | |
static const std::string & | codeToString (Code) |
-----------— implementation details ---------------— More... | |
static void | throwThis (Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="") |
static void | throwThis (Code category, char const *message0, int intVal, char const *message2="") |
Private Member Functions | |
virtual void | rethrow () |
virtual int | returnCode_ () const |
Private Attributes | |
Code | category_ |
Definition at line 71 of file EDMException.h.
Definition at line 73 of file EDMException.h.
|
explicit |
Definition at line 55 of file EDMException.cc.
Referenced by clone().
Exception::Exception | ( | Code | category, |
std::string const & | message | ||
) |
Definition at line 60 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
char const * | message | ||
) |
Definition at line 65 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
std::string const & | message, | ||
cms::Exception const & | another | ||
) |
Definition at line 70 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
char const * | message, | ||
cms::Exception const & | another | ||
) |
Definition at line 75 of file EDMException.cc.
Exception::Exception | ( | Exception const & | other | ) |
Definition at line 80 of file EDMException.cc.
|
virtual |
|
inline |
Definition at line 93 of file EDMException.h.
Referenced by TStorageFactoryFile::Initialize(), pat::helper::RefHelper< T >::parentOrNull(), and pat::helper::RefHelper< T >::recursiveLookup().
|
virtual |
Reimplemented from cms::Exception.
Definition at line 119 of file EDMException.cc.
References Exception().
|
static |
-----------— implementation details ---------------—
Definition at line 50 of file EDMException.cc.
References edm::errors::codeMap, spr::find(), i, and edm::errors::kUnknownCode().
Referenced by edm::Path::handleWorkerFailure().
|
privatevirtual |
Reimplemented from cms::Exception.
Definition at line 124 of file EDMException.cc.
|
privatevirtual |
Reimplemented from cms::Exception.
Definition at line 96 of file EDMException.cc.
References category_.
|
inline |
Definition at line 87 of file EDMException.h.
References std::swap().
Referenced by XrdAdaptor::RequestManager::OpenHandler::open(), and operator=().
|
static |
Definition at line 101 of file EDMException.cc.
References alignCSCRings::e, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::lazydetail::_throw_range(), edm::dslvdetail::_throw_range(), edm::dsrvdetail::_throw_range(), edm::detail::_throw_range(), edm::eventsetup::ComponentFactory< T >::addTo(), edm::RefToBaseVector< T >::at(), edm::OwnVector< T, P >::back(), edm::RefToBase< T >::castTo(), edm::helpers::checkRef(), edm::reftobase::RefVectorHolder< REFV >::const_iterator_imp_specific::dc(), edm::reftobase::IndirectVectorHolder< T >::const_iterator_imp_specific::dc(), edm::reftobase::VectorHolder< T, REFVECTOR >::const_iterator_imp_specific::dc(), edm::detailsTrie::errorInsert(), edm::OwnVector< T, P >::fillView(), edm::ServiceRegistry::get(), edm::serviceregistry::ServicesManager::get(), edm::Handle< GenericObject >::Handle(), edm::Handle< FWGenericObject >::Handle(), edm::OneToValue< reco::CaloJetCollection, reco::L2TauIsolationInfo >::insert(), edm::OneToMany< reco::TrackJetCollection, reco::TrackCollection >::insert(), edm::OneToOneGeneric< std::vector< TrackCandidate >, std::vector< Trajectory >, unsigned int >::insert(), edm::OneToManyWithQualityGeneric< std::vector< reco::Track >, std::vector< reco::Vertex >, int, unsigned int >::insert(), edm::ServiceRegistry::isAvailable(), edm::reftobase::RefProdKey::key(), edm::RefToBase< T >::key(), edm::makeRefTo(), edm::reftobase::InvalidHolderToVector< T, REF >::makeVectorBaseHolder(), edm::reftobase::InvalidRefHolderToRefVector< REF >::makeVectorBaseHolder(), edm::reftobase::RefProdHolderToVector< T >::makeVectorBaseHolder(), edm::reftobase::RefProdRefHolderToRefVector::makeVectorBaseHolder(), edm::reftobase::InvalidHolderToVector< T, REF >::makeVectorHolder(), edm::reftobase::InvalidRefHolderToRefVector< REF >::makeVectorHolder(), edm::reftobase::RefProdHolderToVector< T >::makeVectorHolder(), edm::reftobase::RefProdRefHolderToRefVector::makeVectorHolder(), edm::DoNotFillView< T >::operator()(), edm::DoNotSetPtr< T >::operator()(), edm::reftobase::RefVectorHolderBase::const_iterator::operator*(), edm::reftobase::RefVectorHolderBase::const_iterator::operator+(), edm::reftobase::RefVectorHolderBase::const_iterator::operator++(), edm::reftobase::RefVectorHolderBase::const_iterator::operator+=(), edm::reftobase::RefVectorHolderBase::const_iterator::operator-(), edm::reftobase::RefVectorHolderBase::const_iterator::operator--(), edm::reftobase::RefVectorHolderBase::const_iterator::operator-=(), edm::RefToBaseProd< T >::operator->(), edm::reftobase::RefVectorHolderBase::const_iterator::operator<(), edm::AssociationMap< edm::OneToMany< reco::BasicJetCollection, reco::TrackCollection > >::operator[](), edm::reftobase::RefVectorHolder< REFV >::push_back(), edm::reftobase::IndirectVectorHolder< reco::Candidate >::push_back(), edm::reftobase::VectorHolder< reco::Candidate, reco::GsfElectronRefVector >::push_back(), edm::detail::reallyfillPtrVector(), edm::reftobase::RefVectorHolderNoFillView< REFV >::reallyFillView(), edm::detail::reallySetPtr(), edm::ESProducer::registerProduct(), edm::helper::Filler< Association< C > >::throwAdd(), edm::helper::Filler< Association< C > >::throwFillSize(), edm::ValueMap< edm::Ref< std::vector< reco::PFCandidate >, reco::PFCandidate, edm::refhelper::FindUsingAdvance< std::vector< reco::PFCandidate >, reco::PFCandidate > > >::throwIndexBound(), edm::Association< reco::FFTJPTJetCollection >::throwIndexMapBound(), edm::reftobase::BaseVectorHolder< T >::const_iterator::throwInvalidReference(), edm::ValueMap< edm::Ref< std::vector< reco::PFCandidate >, reco::PFCandidate, edm::refhelper::FindUsingAdvance< std::vector< reco::PFCandidate >, reco::PFCandidate > > >::throwNotExisting(), and edm::Association< reco::FFTJPTJetCollection >::throwRefSet().
|
static |
Definition at line 113 of file EDMException.cc.
References alignCSCRings::e, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 112 of file EDMException.h.
Referenced by returnCode_().