Package java.io

Class FileNotFoundException

All Implemented Interfaces:
Serializable

public class FileNotFoundException
extends IOException
Thrown when a file specified by a program cannot be found.
See Also:
Serialized Form
  • Constructor Details

    • FileNotFoundException

      public FileNotFoundException()
      Constructs a new FileNotFoundException with its stack trace filled in.
    • FileNotFoundException

      public FileNotFoundException​(String detailMessage)
      Constructs a new FileNotFoundException with its stack trace and detail message filled in.
      Parameters:
      detailMessage - the detail message for this exception.