|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
public class IllegalStateException
ºÎÁ¤ ¶Ç´Â ºÎÀûÀýÇÑ ¶§¿¡ ¸Þ¼µå°¡ ºÒ·Á °£ °ÍÀ» ³ªÅ¸³À´Ï´Ù. Áï, Java ȯ°æ ¶Ç´Â Java ¾îÇø®ÄÉÀ̼ÇÀº ¿ä±¸µÈ ¿ÀÆÛ·¹À̼ǿ¡ ÀûÀýÇÑ »óŰ¡ ¾Æ´Õ´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
IllegalStateException ()
»ó¼¼ ¸Þ¼¼Áö¸¦ °¡ÁöÁö ¾Ê´Â IllegalStateExceptionÀ» ±¸ÃàÇÕ´Ï´Ù. |
|
IllegalStateException (String s)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â IllegalStateExceptionÀ» ±¸ÃàÇÕ´Ï´Ù. |
|
IllegalStateException (String message,
Throwable cause)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö ¹× ¿øÀÎÀ» »ç¿ëÇØ »õ·Î¿î ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
IllegalStateException (Throwable cause)
(cause==null ? null : cause.toString()) ÁöÁ¤µÈ ¿øÀÎ ¹× »ó¼¼ ¸Þ¼¼Áö¸¦ »ç¿ëÇØ »õ·Î¿î ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä |
---|
Ŭ·¡½º 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 IllegalStateException()
public IllegalStateException(String s)
s
- »ó¼¼ ¸Þ¼¼Áö¸¦ Æ÷ÇÔÇÑ Ä³¸¯ÅÍ ¶óÀÎpublic IllegalStateException(String message, Throwable cause)
cause
¿Í
°ü·ÃµÈ
»ó¼¼ ¸Þ¼¼Áö°¡ ÀÌ ¿¹¿ÜÀÇ »ó¼¼ ¸Þ¼¼Áö¿¡ ÀÚµ¿ÀûÀ¸·Î ÅëÇÕµÉ °ÍÀº ¾ø½À´Ï´Ù.
message
- »ó¼¼ ¸Þ¼¼Áö. Throwable.getMessage()
¸Þ¼µå¿¡
ÇÑ Ãëµæ¿ëÀ¸·Î º¸Á¸µÇ´Âcause
- ¿øÀÎ. ³ªÁß¿¡ Throwable.getCause()
¸Þ¼µå·Î ÃëµæÇϱâ À§Çؼ º¸Á¸µÈ´Ù. null °ªÀÌ Çã°¡µÇ°í ÀÖ¾î ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³»´Âpublic IllegalStateException(Throwable cause)
PrivilegedActionException
µî)ÀÇ ·¡ÆÛÀÎ °æ¿ì¿¡ À¯¿ëÇÕ´Ï´Ù.
cause
- ¿øÀÎ. ³ªÁß¿¡ Throwable.getCause()
¸Þ¼µå·Î ÃëµæÇϱâ À§Çؼ º¸Á¸µÈ´Ù. null °ªÀÌ Çã°¡µÇ°í ÀÖ¾î ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³»´Â
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.