You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2005/10/21 23:00:50 UTC
svn commit: r327578 -
/cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
Author: joerg
Date: Fri Oct 21 14:00:46 2005
New Revision: 327578
URL: http://svn.apache.org/viewcvs?rev=327578&view=rev
Log:
improved WebDAVSource error message (bug 36371, thanks to Jean-Baptiste Quenot)
Modified:
cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
Modified: cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java?rev=327578&r1=327577&r2=327578&view=diff
==============================================================================
--- cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java (original)
+++ cocoon/blocks/webdav/trunk/java/org/apache/cocoon/components/source/impl/WebDAVSource.java Fri Oct 21 14:00:46 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);