|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.FileNotFoundException
public class FileNotFoundException
지정된 경로명으로 나타나는 파일이 열리지 않았던 것을 통지합니다.
이 예외는, 지정된 경로명의 파일이 존재하지 않을 때에,FileInputStream
,FileOutputStream
, 및 RandomAccessFile
의 각 생성자 에 의해 throw 됩니다. 또, 파일이 존재해도, 하등의 이유로써 액세스 할 수 없는 경우 (예를 들어, read 전용의 파일을 기입을 위해서(때문에) 열려고 했을 경우)에도 그러한 생성자 에 의해 throw 됩니다.
생성자 의 개요 | |
---|---|
FileNotFoundException ()
에러 상세 메세지로서 null 를 설정해 FileNotFoundException 를 구축합니다. |
|
FileNotFoundException (String s)
지정된 상세 메세지를 가지는 FileNotFoundException 를 구축합니다. |
메소드의 개요 |
---|
클래스 java.lang. Throwable 로부터 상속된 메소드 |
---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public FileNotFoundException()
null
를 설정해 FileNotFoundException
를 구축합니다.
public FileNotFoundException(String s)
FileNotFoundException
를 구축합니다. 캐릭터 라인 s
는,java.lang.Throwable
클래스의 Throwable.getMessage()
메소드를 사용해 나중에 취득할 수 있겠습니다.
s
- 상세 메세지
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.