The device is not connected exception

  • Share
  • Share

Applies to:
NA

Description:
Occurs when You have tried to open a large number of files and exceeded a limited system resource.

Cause:
You have tried to open a large number of files.

JAVA-JRE

  1. admin
    March 20th, 2009 at 10:28 | #1

    Your operating system may limit the number of files one process can have open. Generally you want to be careful with resources like open files in java. Unless you have a specific reason for keeping all of those open, you’d be better off reading through each file, extracting the data you want, and then closing. Remember to close() your files when you are done using them.

  1. No trackbacks yet.