#include <EDMException.h>
Public Types | |
typedef errors::ErrorCodes | Code |
Public Member Functions | |
Code | categoryCode () const |
Exception * | clone () const override |
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) |
~Exception () noexcept override | |
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 |
template<typename... Args> | |
void | format (fmt::format_string< Args... > format, Args &&... args) |
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 () |
void | setContext (std::list< std::string > const &context) |
void | swap (Exception &other) |
void | vformat (std::string_view fmt, fmt::format_args args) |
char const * | what () const noexcept override |
~Exception () noexcept override | |
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 | |
void | rethrow () override |
int | returnCode_ () const override |
Private Attributes | |
Code | category_ |
Definition at line 82 of file EDMException.h.
Definition at line 84 of file EDMException.h.
|
explicit |
Definition at line 59 of file EDMException.cc.
Referenced by clone().
Exception::Exception | ( | Code | category, |
std::string const & | message | ||
) |
Definition at line 61 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
char const * | message | ||
) |
Definition at line 64 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
std::string const & | message, | ||
cms::Exception const & | another | ||
) |
Definition at line 67 of file EDMException.cc.
Exception::Exception | ( | Code | category, |
char const * | message, | ||
cms::Exception const & | another | ||
) |
Definition at line 70 of file EDMException.cc.
Exception::Exception | ( | Exception const & | other | ) |
Definition at line 73 of file EDMException.cc.
|
overridenoexcept |
Definition at line 75 of file EDMException.cc.
|
inline |
|
overridevirtual |
Reimplemented from cms::Exception.
Definition at line 102 of file EDMException.cc.
References Exception().
|
static |
-----------— implementation details ---------------—
Definition at line 54 of file EDMException.cc.
References DummyCfis::c, edm::errors::codeMap, spr::find(), mps_fire::i, and edm::errors::kUnknownCode().
Referenced by edm::Path::handleWorkerFailure().
Definition at line 77 of file EDMException.cc.
References trackingPlots::other, swap(), and groupFilesInBlocks::temp.
|
overrideprivatevirtual |
Reimplemented from cms::Exception.
Definition at line 104 of file EDMException.cc.
|
overrideprivatevirtual |
Reimplemented from cms::Exception.
Definition at line 83 of file EDMException.cc.
References category_.
|
inline |
Definition at line 98 of file EDMException.h.
References trackingPlots::other, and edm::swap().
Referenced by operator=().
|
static |
Definition at line 85 of file EDMException.cc.
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::dsrvdetail::_throw_range(), edm::detail::_throw_range(), edm::eventsetup::ComponentFactory< T >::addTo(), 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, REFV >::const_iterator_imp_specific::dc(), edm::detailsTrie::errorInsert(), edm::ServiceRegistry::get(), edm::serviceregistry::ServicesManager::get(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::get(), edm::Handle< GenericObject >::Handle(), edm::Handle< FWGenericObject >::Handle(), edm::OneToValue< BasicClusterCollection, float, unsigned short >::insert(), edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int >::insert(), edm::OneToOneGeneric< CKey, CVal, index >::insert(), edm::OneToManyWithQualityGeneric< TrackingVertexCollection, edm::View< reco::Vertex >, double, unsigned int >::insert(), edm::ServiceRegistry::isAvailable(), edm::reftobase::RefProdKey::key(), edm::makeRefTo(), edm::reftobase::InvalidHolderToVector< T, REF >::makeVectorHolder(), edm::reftobase::InvalidRefHolderToRefVector< REF >::makeVectorHolder(), 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::reftobase::RefVectorHolder< REFV >::push_back(), edm::reftobase::IndirectVectorHolder< T >::push_back(), edm::reftobase::VectorHolder< T, REFV >::push_back(), edm::detail::reallyfillPtrVector(), edm::detail::reallySetPtr(), edm::ESProducer::registerProduct(), edm::helper::Filler< Association< C > >::throwAdd(), edm::helper::Filler< Association< C > >::throwFillSize(), edm::ValueMap< std::pair< float, float > >::throwIndexBound(), edm::Association< C >::throwIndexMapBound(), edm::reftobase::BaseVectorHolder< T >::const_iterator::throwInvalidReference(), edm::ValueMap< std::pair< float, float > >::throwNotExisting(), and edm::Association< C >::throwRefSet().
|
static |
Definition at line 96 of file EDMException.cc.
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 120 of file EDMException.h.
Referenced by returnCode_().