commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Sutton" <adrian.sut...@ephox.com>
Subject [HttpClient] [PATCH] HttpMultiClient Catches IOException Twice
Date Mon, 23 Sep 2002 06:30:09 GMT
In HttpMultiClient (latest version in CVS) there is a catch statement for
IOException followed by HttpException, however since HttpException extends
from IOException there is no possible way the HttpException catch clause can
be activated.  Since they both just throw the exception again anyway, this
patch just removes the HttpException catch clause.

Javac on my system refuses to compile HttpMultiClient due to this.  I think
I got the patch format right...

Adrian Sutton, Software Engineer
Ephox Corporation
www.ephox.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual to whom they are addressed. Opinions
contained in this email do not necessarily reflect the opinions of Ephox
Corporation.
If you have received this email in error please notify the sender
immediately and delete all copies of the correspondence from your computer
and/or computer network. No warranty is given that this message upon its
receipt is virus free and the sender in this respect accepts no liability.

Mime
View raw message