Follow Us
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.


0 votes

Theis exception is thrown when java fails to open the file specified with pathname. Generally this exception can be seen when the constructors of RandomAccessFile, FileInputStream, and FileOutputStream classes are used.

requested by (170k points)

1 Solution

0 votes

Check the pathnames that you have provided within the methods or constructors. Also check the file that you try to write is not read-only.

solved by (170k points)