Add HTTP status code to exception messages when available.
----------------------------------------------------------
Key: VFS-385
URL: https://issues.apache.org/jira/browse/VFS-385
Project: Commons VFS
Issue Type: Improvement
Affects Versions: 2.0
Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\Java\apache-maven-3.0.3\bin\..
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_29\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Reporter: Gary D. Gregory
Assignee: Gary D. Gregory
Fix For: Nightly Builds
Enhance the following message patterns with the HTTP status code:
{noformat}
vfs.provider.http/get.error=GET method failed for "{0}" with HTTP status {1}.
vfs.provider.http/head.error=HEAD method failed for "{0}" with HTTP status {1}.
vfs.provider.http/get-range.error=GET method failed for "{0}" range "{1}" with
HTTP status {2}.
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira