void XMLErrorHelper::printError(const DOMException& exception) { cerr << "Error (DOMException): Code \"" << exception.code << "\"" << endl; cerr << "Message: " << C(exception.getMessage()) << endl; }
string core::xml::getExceptionString(const DOMException &ex) throw () { stringstream result; result << "DOMException: " << xts(ex.getMessage()) << "."; return result.str(); }