6 #if WITHOUT_CMS_FRAMEWORK 7 static const char FAILED[] =
"(out of memory while formatting error message)";
14 char *message =
nullptr;
17 vasprintf(&message, fmt, args);
20 #if WITHOUT_CMS_FRAMEWORK 21 char *
final =
nullptr;
22 asprintf(&
final,
"%s: %s", context, message ? message : FAILED);
23 std::runtime_error err(
final ?
final : FAILED);
void raiseDQMError(const char *context, const char *fmt,...)