sebb wrote:

> On 18/06/2008, Jörg Schaible <[EMAIL PROTECTED]> wrote:

[snip]

>>  >
>>  > IOException is:
>>  > "This class is the general class of exceptions produced by failed or
>>  > interrupted I/O operations. "
>>  > One can see wrong passwords as an interrupted IO exception. For me
>>  > this are logical issues.
>>
>>
>> No, it's definitely not an InterruptedIOException. Such a beast is thrown
>> if
>>  the thread is interrupted while it is performing an IO operation. Note,
>>  that you will not see this on Windows, but on Solaris that exception can
>>  cause major headaches ;-)
>>
> 
> However, I think one could regard an incorrect password as much the
> same as a file protection error, which is surely an IOException?

IOException for sure, I just want to point out that it is a bad idea to use
*InterruptedIOException* for something different, since it is already a
very special case in the JDK ;-)

- Jörg


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

Reply via email to