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 08:06 -------
> - 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.

It is not. But I really would like to keep it, as once 3.0 development starts,
it would only take changing the super class of the HttpException 


> - 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.

Quite right. I would like to check in this patch first, though, (provided nobody
objects).

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

Reply via email to