thanks! 
i really didn't expect an answer from "chreis 5" when writing to a global distribution 
list :-)

balz.



Balz Schreier
Senior Consultant
Cambridge Technology Partners (Switzerland) S.A.
Leutschenbachstrasse 41
CH-8050 Z�rich
Switzerland
Tel: +41 (0) 43 299 76 11
Fax: +41 (0) 43 299 75 01
mailto:[EMAIL PROTECTED] 
http://www.ctp.com



>>> [EMAIL PROTECTED] 12/20/02 01:50pm >>>
Note that there are two kinds of connection timeouts!
One is the timeout used when establishing a connection 
(HttpClient.setConnectionTimeout),
the other is the timout used when no traffic occurs on Socket 
(HttpClient.setTimeout).

The first kind is not included in previous releases. The 
HttpConnection.ConnectionTimeoutException is thrown from the 
HttpConnection.open() Method.

The seconds kind is included in previous releases and a 
java.io.InterruptedIOException is thrown on blocking reads from the 
InputStream.

Odi

Balz Schreier wrote:
> two questions:
> 
> 1) does only release 2 support the ConnectionTimeoutException?
> 2) is the exception actually thrown when a socket timeout occurrs? which method does 
>throw it?
> 
> Thanks!

-- 
_________________________________________________________________
  NOSE applied intelligence ag
                                    [www]      http://www.nose.ch 
  ortwin gl�ck                      [email] [EMAIL PROTECTED] 
  hardturmstrasse 171               [pgp key]          0x81CF3416
  8005 zurich                       [office]      +41-1-277 57 35
  switzerland                       [fax]         +41-1-277 57 12


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



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

Reply via email to