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
This exception is thrown when an attempt is made to access a file that
does not exist, or is inaccessible for some other reason (such as writing
a read-only file).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
FileNotFoundException
public FileNotFoundException()
- Create an exception without a descriptive error message.
FileNotFoundException
public FileNotFoundException(String message)
- Create an exception with a descriptive error message.
- Parameters:
message
- the descriptive error message