You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Adrian Sutton <ad...@ephox.com> on 2002/09/23 08:30:09 UTC

[HttpClient] [PATCH] HttpMultiClient Catches IOException Twice

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.