2006/unicorn/src/org/w3c/unicorn/input URIInputParameter.java,1.6,1.7

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv30462/src/org/w3c/unicorn/input

Modified Files:
	URIInputParameter.java 
Log Message:
added the host to a 'unknown host' message

Index: URIInputParameter.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/URIInputParameter.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- URIInputParameter.java	18 Sep 2009 14:56:06 -0000	1.6
+++ URIInputParameter.java	2 Oct 2009 10:13:15 -0000	1.7
@@ -68,7 +68,7 @@
 		} catch (MimeTypeParseException e) {
 			throw new UnicornException(Message.Level.ERROR, "$message_invalid_mime_type", null);
 		} catch (UnknownHostException e) { 
-			throw new UnicornException(Message.Level.ERROR, "$message_unknown_host", null);
+			throw new UnicornException(Message.Level.ERROR, "$message_unknown_host " + docUrl.getHost(), null);
 		} catch (SSLException e) {
 			throw new UnicornException(Message.Level.ERROR, "$message_ssl_exception", null);
 		} catch (ConnectException e) {

Received on Friday, 2 October 2009 10:13:18 UTC