Hello list,
I noticed that when I do something like:
System.out.println("execute Request "+method.getURI());
int statuscode = this.httpClient.executeMethod(method);
System.out.println("statuscode: "+statuscode);
The line "statuscode" is never printed, if the method was created with an
invalid URL.
In my test case, I tried something like that:
PostMethod method = new PostMethod("path");
Yes, I really mean "path" - this is my invalid url.
How should I notice that there went something wrong, when no Exception is
thrown?
Thank you!
- Mitch
--
View this message in context:
http://old.nabble.com/Invalid-URL-causes-no-Exception---instance-keeps-still-tp29647704p29647704.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]