cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r327579 - /cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
Date Fri, 21 Oct 2005 21:00:55 GMT
Author: joerg
Date: Fri Oct 21 14:00:52 2005
New Revision: 327579

URL: http://svn.apache.org/viewcvs?rev=327579&view=rev
Log:
improved WebDAVSource error message (bug 36371, thanks to Jean-Baptiste Quenot)

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java?rev=327579&r1=327578&r2=327579&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/webdav/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
Fri Oct 21 14:00:52 2005
@@ -225,8 +225,8 @@
             if (e.getReasonCode() == HttpStatus.SC_NOT_FOUND) {
                 throw new SourceNotFoundException("Not found: " + getSecureURI(), e);
             }
-            final String msg = "Could not initialize webdav resource. Server responded "
-                + e.getReasonCode() + " (" + e.getReason() + ") - " + e.getMessage();
+            final String msg = "Could not initialize webdav resource at " + getSecureURI()
+                + ". Server responded " + e.getReasonCode() + " (" + e.getReason() + ") -
" + e.getMessage();
             throw new SourceException(msg, e);
        } catch (IOException e) {
             throw new SourceException("Could not initialize webdav resource", e);



Mime
View raw message