Link Details

Link 1127989 thumbnail
User 1198527 avatar

By stathis.maneas
Published: Mar 21 2014 / 04:28

In this tutorial we will discuss about the FileNotFoundException in Java. This exception is thrown during a failed attempt to open the file denoted by a specified pathname. Also, this exception can be thrown when an application tries to open a file for writing, but the file is read only, or the permissions of the file do not allow the file to be read by any application. This exception extends the IOException class, which is the general class of exceptions produced by failed or interrupted I/O operations. Also, it extends the Serializable interface and finally, the FileNotFoundException exists since the first version of Java (1.0).
  • 8
  • 0
  • 889
  • 756

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java