60 CodeMap::const_iterator
i(trans->find(c));
61 return i!=trans->end() ?
i->second :
std::string(
"UnknownCode");
66 category_(aCategory) {
70 cms::
Exception(codeToString(aCategory),message),
71 category_(aCategory) {
76 category_(aCategory) {
80 cms::
Exception(codeToString(aCategory),message,another),
81 category_(aCategory) {
86 category_(aCategory) {
91 category_(other.category_) {
111 char const* message0,
112 char const* message1,
113 char const* message2,
114 char const* message3,
115 char const* message4) {
117 e << message1 << message2 << message3 << message4;
124 e << intVal << message1;
void getCodeTable(Exception::CodeMap *&setme)
#define EDM_MAP_ENTRY_NONS(map, name)
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
static std::string codeToString(Code)
-----------— implementation details ---------------—
virtual int returnCode_() const
std::map< Code, std::string > CodeMap
Exception::CodeMap trans_
Exception & operator=(Exception const &other)