4 #define FILLENTRY( name ) {name, #name }
8 static const std::map<ErrorCodes, std::string>
codeMap =
57 category_(aCategory) {
61 cms::
Exception(codeToString(aCategory),message),
62 category_(aCategory) {
67 category_(aCategory) {
71 cms::
Exception(codeToString(aCategory),message,another),
72 category_(aCategory) {
77 category_(aCategory) {
82 category_(other.category_) {
102 char const* message0,
103 char const* message1,
104 char const* message2,
105 char const* message3,
106 char const* message4) {
108 e << message1 << message2 << message3 << message4;
115 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)