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