DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19868>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19868

Exception handling in HttpClient requires redesign





------- Additional Comments From [EMAIL PROTECTED]  2003-07-16 04:48 -------
I like the way this is going.  Here are a couple of comments, though they may be
things you just haven't gotten to yet:

- The "ugly hack" in ChunkedInputStream isn't strictly necessary anymore, since
an HttpException is an IOException.  But if we're planning to remove the
IOException inheritance in 3.0, it should probably stay the way it is.

- If we keep the hack, the code that constructs the IOException should call its
initCause method when running on JDK 1.4+.  Maybe a package-access helper method
in HttpException could take care of this, so we don't have the same ugly
reflection code all over the place.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to