java.io
Class FileNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
FileNotFoundException()
          Create an exception without a descriptive error message.
FileNotFoundException(String message)
          Create an exception with a descriptive error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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