On 18/06/2008, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> Christian Grobmeier wrote:
>
>  >>
>  >>
>  >>  I agree with Torsten. There may occur other exceptions than plain
>  >>> input/output errors.
>  >>>
>  >>
>  >> For example ?
>  >>
>  >
>  > hm, maybe those?
>  > - putting the same file twice under same name in an archive
>  > - putting different files twice under same name in an archive
>  > - try to set unix permissions in an special archiver failed
>  > - password to open zipfiles is wrong
>  >
>  > 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?

>  - Jörg
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to