59 CodeMap::const_iterator
i(trans->find(c));
60 return i!=trans->end() ?
i->second :
std::string(
"UnknownCode");
65 category_(aCategory) {
69 cms::
Exception(codeToString(aCategory),message),
70 category_(aCategory) {
75 category_(aCategory) {
79 cms::
Exception(codeToString(aCategory),message,another),
80 category_(aCategory) {
85 category_(aCategory) {
90 category_(other.category_) {
110 char const* message0,
111 char const* message1,
112 char const* message2,
113 char const* message3,
114 char const* message4) {
116 e << message1 << message2 << message3 << message4;
123 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)