jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r774399 - /jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java
Date Wed, 13 May 2009 15:25:54 GMT
Author: stefan
Date: Wed May 13 15:25:53 2009
New Revision: 774399

URL: http://svn.apache.org/viewvc?rev=774399&view=rev
Log:
#0000 provide uri in exception msg

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java?rev=774399&r1=774398&r2=774399&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/ValueLoader.java
Wed May 13 15:25:53 2009
@@ -54,7 +54,7 @@
             if (statusCode == DavServletResponse.SC_OK) {
                 target.setStream(method.getResponseBodyAsStream());
             } else {
-                throw ExceptionConverter.generate(new DavException(statusCode, ("Unable to
load binary. Status line = " + method.getStatusLine().toString())));
+                throw ExceptionConverter.generate(new DavException(statusCode, ("Unable to
load binary at " + uri + " - Status line = " + method.getStatusLine().toString())));
             }
         } finally {
             method.releaseConnection();



Mime
View raw message