JavaTM 2 Platform
Standard Ed. 5.0

java.io
Ŭ·¡½º FileNotFoundException

java.lang.Object 
  »óÀ§¸¦ È®Àå java.lang.Throwable 
      »óÀ§¸¦ È®Àå java.lang.Exception 
          »óÀ§¸¦ È®Àå java.io.IOException 
              »óÀ§¸¦ È®Àå java.io.FileNotFoundException
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class FileNotFoundException
extends IOException

ÁöÁ¤µÈ Æнº¸íÀ¸·Î ³ªÅ¸³ª´Â ÆÄÀÏÀÌ ¿­¸®Áö ¾Ê¾Ò´ø °ÍÀ» ÅëÁöÇÕ´Ï´Ù.

ÀÌ ¿¹¿Ü´Â ÁöÁ¤µÈ Æнº¸íÀÇ ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» ¶§¿¡ FileInputStream, FileOutputStream ¹× RandomAccessFile »ý¼ºÀÚ¿¡ ÀÇÇØ ¹ß»ý µË´Ï´Ù. ¶Ç, ÆÄÀÏÀÌ Á¸ÀçÇصµ, ¾î¶°ÇÑ ÀÌÀ¯·Î½á ¾×¼¼½º ÇÒ ¼ö ¾ø´Â °æ¿ì (¿¹¸¦ µé¾î read Àü¿ëÀÇ ÆÄÀÏÀ» write¸¦ À§Çؼ­ ¿­·Á°í ÇßÀ» °æ¿ì)¿¡µµ ±×·¯ÇÑ »ý¼ºÀÚ¿¡ ÀÇÇØ ¹ß»ý µË´Ï´Ù.

µµÀÔµÈ ¹öÀü :
JDK1. 0
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚ °³¿ä
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
 

»ý¼ºÀÚ »ó¼¼

FileNotFoundException

public FileNotFoundException()
¿¡·¯ »ó¼¼ ¸Þ¼¼Áö·Î¼­ nullÀ» ¼³Á¤ÇØ FileNotFoundExceptionÀ» ±¸ÃàÇÕ´Ï´Ù.


FileNotFoundException

public FileNotFoundException(String  s)
»ó¼¼ ¸Þ¼¼Áö¸¦ ÁöÁ¤ÇØ FileNotFoundExceptionÀ» ±¸ÃàÇÕ´Ï´Ù. ij¸¯ÅÍ ¶óÀÎ s´Â java.lang.Throwable Ŭ·¡½ºÀÇ Throwable.getMessage() ¸Þ¼­µå¸¦ »ç¿ëÇØ ³ªÁß¿¡ ²¨³¾ ¼ö°¡ ÀÖ½À´Ï´Ù.

ÆĶó¹ÌÅÍ:
s - »ó¼¼ ¸Þ¼¼Áö

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.