Package java.io
Class FileNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.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 Summary
Constructors Constructor Description FileNotFoundException()Constructs a newFileNotFoundExceptionwith its stack trace filled in.FileNotFoundException(String detailMessage)Constructs a newFileNotFoundExceptionwith its stack trace and detail message filled in. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileNotFoundException
public FileNotFoundException()Constructs a newFileNotFoundExceptionwith its stack trace filled in. -
FileNotFoundException
Constructs a newFileNotFoundExceptionwith its stack trace and detail message filled in.- Parameters:
detailMessage- the detail message for this exception.
-