|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.NullPointerException
public class NullPointerException
°´Ã¼°¡ ÇÊ¿äÇÑ °æ¿ì¿¡
¾îÇø®ÄÉÀ̼ÇÀÌ null
À»
»ç¿ëÇÏ·Á°í ÇÏ¸é ¹ß»ý µË´Ï´Ù. ¿¹¸¦ µé¾î
¾Æ·¡¿Í °°Àº °æ¿ì°¡ ÀÖ½À´Ï´Ù.
null
°´Ã¼ÀÇ ÀνºÅϽº ¸Þ¼µåÀÇ È£Ãânull
°´Ã¼ÀÇ Çʵ忡 ´ëÇÑ ¾×¼¼½º ¶Ç´Â º¯°ænull
±æÀ̸¦ ¹è¿ÀÎ°Í °°ÀÌ Ãëµænull
½½·ÔÀ» ¹è¿ÀÎ°Í °°ÀÌ ¾×¼¼½º ¶Ç´Â ¼öÁ¤null
À»
Throwable
Ä¡ÀÎ°Í °°ÀÌ Throw
null
°´Ã¼ÀÇ ºÎÁ¤ÇÑ »ç¿ëÀ» ³ªÅ¸³»´Â °æ¿ì´Â ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽº¸¦ ¾îÇø®ÄÉÀ̼ÇÃø¿¡¼ Throw Çϵµ·ÏÀÇÇØ ÁÖ¼¼¿ä.
»ý¼ºÀÚ °³¿ä | |
---|---|
NullPointerException ()
»ó¼¼ ¸Þ¼¼Áö¸¦ °¡ÁöÁö ¾Ê´Â NullPointerException À»
±¸ÃàÇÕ´Ï´Ù. |
|
NullPointerException (String s)
ÁöÁ¤ÇÑ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â NullPointerException À»
±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä |
---|
Ŭ·¡½º 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 NullPointerException()
NullPointerException
À»
±¸ÃàÇÕ´Ï´Ù.
public NullPointerException(String s)
NullPointerException
À»
±¸ÃàÇÕ´Ï´Ù.
s
- »ó¼¼ ¸Þ¼¼Áö
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.