On Fri, 2010-12-03 at 12:29 +0100, Roman Kennke wrote:
> Hi Oleg,
> 
> HttpConnection.shutdown() seem to be perfect for this. Thanks.
> 
> However, one question remains. Is there a way to distinguish between the 
> IOException thrown be shutdown and other (i.e. protocol/network related) 
> IOException? As far as I can see, there is no special subclass for shutdown 
> related IOException.
> 
> Kind regards,
> **Roman
> 

Unfortunately, there does not seem to be a way. This is one of the
limitations of the classic I/O model in Java.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to