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