1 #ifndef FWCore_Utilities_Exception_h 2 #define FWCore_Utilities_Exception_h 39 #include <type_traits> 51 template <
typename T,
bool b>
61 template <
typename BASE,
typename DERIVED>
71 explicit Exception(
char const* aCategory);
76 Exception(
char const* aCategory,
char const* message);
88 char const* what()
const noexcept override;
94 std::list<std::string>
const& context()
const;
95 std::list<std::string>
const& additionalInfo()
const;
98 void raise() { rethrow(); }
102 void append(
char const* more_information);
106 void clearAdditionalInfo();
109 void addContext(
char const* context);
112 void addAdditionalInfo(
char const* info);
114 void setContext(std::list<std::string>
const& context);
115 void setAdditionalInfo(std::list<std::string>
const& info);
117 bool alreadyPrinted()
const;
118 void setAlreadyPrinted(
bool value);
142 template <
typename E,
typename T>
146 template <
typename E>
150 template <
typename E>
173 std::list<std::string> history()
const;
177 virtual void rethrow();
178 virtual int returnCode_()
const;
196 template <
typename E,
typename T>
203 template <
typename E>
210 template <
typename E>
std::list< std::string > additionalInfo_
virtual std::string explainSelf() const
void swap(Association< C > &lhs, Association< C > &rhs)
Namespace of DDCMS conversion namespace.
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::list< std::string > context_
std::ostream & operator<<(std::ostream &os, MD5Result const &r)