subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r930067 - /subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp
Date Thu, 01 Apr 2010 19:37:15 GMT
Author: hwright
Date: Thu Apr  1 19:37:14 2010
New Revision: 930067

URL: http://svn.apache.org/viewvc?rev=930067&view=rev
Log:
* subversion/bindings/javahl/native/JNIUtil.cpp
  (handleSVNError): When composing the message for a Java exception, don't
    spit back the various tracing stack frames in the error message.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp?rev=930067&r1=930066&r2=930067&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp Thu Apr  1 19:37:14 2010
@@ -379,7 +379,7 @@ JNIUtil::throwNativeException(const char
 void JNIUtil::handleSVNError(svn_error_t *err)
 {
   std::string msg;
-  assembleErrorMessage(err, 0, APR_SUCCESS, msg);
+  assembleErrorMessage(svn_error_purge_tracing(err), 0, APR_SUCCESS, msg);
   const char *source = NULL;
 #ifdef SVN_DEBUG
   if (err->file)



Mime
View raw message