4 #define FILLENTRY( name ) {name, #name }
8 static const std::map<ErrorCodes, std::string>
codeMap =
58 category_(aCategory) {
62 cms::
Exception(codeToString(aCategory),message),
63 category_(aCategory) {
68 category_(aCategory) {
72 cms::
Exception(codeToString(aCategory),message,another),
73 category_(aCategory) {
78 category_(aCategory) {
83 category_(other.category_) {
103 char const* message0,
104 char const* message1,
105 char const* message2,
106 char const* message3,
107 char const* message4) {
109 e << message1 << message2 << message3 << message4;
116 e << intVal << message1;
static const std::string & codeToString(Code)
-----------— implementation details ---------------—
static const std::string kUnknownCode("unknownCode")
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
void swap(Exception &other)
virtual Exception * clone() const
virtual int returnCode_() const
static const std::map< ErrorCodes, std::string > codeMap
Exception & operator=(Exception const &other)