if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
- throw unknown_enumeration();
+ throw unknown_enumeration (type);
}
if (x->second.bitwise) {
if (x == registry.end()) {
error << string_compose (_("EnumWriter: unknown enumeration type \"%1\""), type) << endmsg;
- throw unknown_enumeration();
+ throw unknown_enumeration (type);
}
if (x->second.bitwise) {
} while (true);
if (!found) {
- throw unknown_enumeration();
+ throw unknown_enumeration (str);
}
return result;
}
}
- throw unknown_enumeration();
+ throw unknown_enumeration(str);
}
void