X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fexceptions.cpp;fp=xmltooling%2Fexceptions.cpp;h=6002fb5354da43324ce19681bf698fbdd4b401fa;hb=a34a7db1f348229bb80e0da8171d3b3692b4a8cf;hp=3b37262cc37e5e7b3da7236a82e99781a96a2563;hpb=d73e59e9834ff2447334d7a5e576cc4a2cb219f9;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/exceptions.cpp b/xmltooling/exceptions.cpp index 3b37262..6002fb5 100644 --- a/xmltooling/exceptions.cpp +++ b/xmltooling/exceptions.cpp @@ -232,8 +232,8 @@ string XMLToolingException::toString() const string XMLToolingException::toQueryString() const { const URLEncoder* enc = XMLToolingConfig::getConfig().getURLEncoder(); - string q("type="); - q = q + enc->encode(getClassName()) + "&message=" + enc->encode(what()); + string q("errorType="); + q = q + enc->encode(getClassName()) + "&errorText=" + enc->encode(what()); for (map::const_iterator i=m_params.begin(); i!=m_params.end(); i++) q = q + '&' + i->first + '=' + enc->encode(i->second.c_str()); return q;