Assume the scenarios as below:
- You were reading network file and got disconnected.
- Reading local file which is not available any more.
- Using some stream to read the data and some other process closes the stream.
- You are trying to read/write a file and don't have permission
- You were writing a file and disk space is not available anymore
All these scenarios result into
IOException
No comments:
Post a Comment