java::io::FileNotFoundException Class Reference

Inheritance diagram for java::io::FileNotFoundException:

Inheritance graph
java::io::IOExceptionjava::lang::Exceptionjava::lang::Throwablejava::lang::Object
[legend]
Collaboration diagram for java::io::FileNotFoundException:

Collaboration graph
java::io::IOExceptionjava::lang::Exceptionjava::lang::Throwablejava::lang::Objectjava::lang::Stringjava::lang::Interfacejava::lang::ObjectRefjava::lang::Comparable
[legend]

List of all members.


Detailed Description

Signals that an attempt to open the file denoted by a specified pathname has failed.

This exception will be thrown by the FileInputStream, FileOutputStream, and RandomAccessFile constructors when a file with the specified pathname does not exist. It will also be thrown by these constructors if the file does exist but for some reason is inaccessible, for example when an attempt is made to open a read-only file for writing.

Author:
Yuh-Jye Chang
Version:
1.21, 12/03/01
Since:
JDK1.0

Public Member Functions

 FileNotFoundException (const String &message=nilCString)
 Constructs a FileNotFoundException with the specified detail message.

Constructor & Destructor Documentation

java::io::FileNotFoundException::FileNotFoundException ( const String message = nilCString  ) 

Constructs a FileNotFoundException with the specified detail message.

The string s can be retrieved later by the java.lang.Throwable#getMessage method of class java.lang.Throwable.

Parameters:
s the detail message.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:30 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3