The device is not connected exception

Posted by Dani on Stack Overflow See other posts from Stack Overflow or by Dani
Published on 2009-03-15T13:57:34Z Indexed on 2010/04/20 11:03 UTC
Read the original article Hit count: 142

Filed under:
|
|

I try to open a large number of files but after 5000 files or so I get

Exception in thread "Main" java.io.IOException: The device is not connected


Is this the expected behavior? Is there a way around it? I want to leave my code as straightforward as possible.

© Stack Overflow or respective owner

Related posts about java

Related posts about files