|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception
Exception
Ŭ·¡½º¿Í ±× ¼ºê Ŭ·¡½º´Â Åë»óÀÇ ¾îÇø®ÄÉÀ̼ÇÀ¸·Î ijġ µÉ °¡´É¼ºÀÌ ÀÖ´Â »óŸ¦ ³ªÅ¸³»´Â Throwable
ÀÇ Çü½ÄÀÇ 1 °³ÀÔ´Ï´Ù.
Error
,
Á÷·ÄÈ µÈ Çü½Ä »ý¼ºÀÚÀÇ °³¿ä | |
Exception ()
»ó¼¼ ¸Þ¼¼Áö¿¡ null ¸¦ »ç¿ëÇØ, ½Å±Ô ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
Exception (String message)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ »ç¿ëÇØ, ½Å±Ô ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
Exception (String message,
Throwable cause)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö ¹× ¿øÀÎÀ» »ç¿ëÇØ ½Å±Ô ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
Exception (Throwable cause)
(cause==null ? |
Ŭ·¡½º 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 Exception()
null
¸¦ »ç¿ëÇØ, ½Å±Ô ¿¹¿Ü¸¦ ±¸ÃàÇÕ´Ï´Ù. ¿øÀÎÀº ÃʱâȵÇÁö ¾Ê°í ±× ÈÄ Throwable.initCause(java.lang.Throwable)
¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î Ãʱâȵ˴ϴÙ.
public Exception(String message)
Throwable.initCause(java.lang.Throwable)
¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î Ãʱâȵ˴ϴÙ.
message
- »ó¼¼ ¸Þ¼¼Áö. »ó¼¼ ¸Þ¼¼Áö´Â Throwable.getMessage()
¸Þ¼Òµå¿¡ ÀÇÇÑ Ãëµæ¿ëÀ¸·Î º¸Á¸µÈ´Ùpublic Exception(String message, Throwable cause)
cause
¿Í °ü·ÃÁöÀ» ¼ö ÀÖ¾ú´ø »ó¼¼ ¸Þ¼¼Áö°¡, ÀÌ ¿¹¿ÜÀÇ »ó¼¼ ¸Þ¼¼Áö¿¡ ÀÚµ¿ÀûÀ¸·Î ÅëÇÕµÉ °ÍÀº ¾ø½À´Ï´Ù.
message
- »ó¼¼ ¸Þ¼¼Áö (Throwable.getMessage()
¸Þ¼Òµå¿¡ ÀÇÇÑ Ãëµæ¿ëÀ¸·Î º¸Á¸µÈ´Ù)cause
- ¿øÀÎ (Throwable.getCause()
¸Þ¼Òµå¿¡ ÀÇÇÑ Ãëµæ¿ëÀ¸·Î º¸Á¸µÈ´Ù). null Ä¡°¡ Çã°¡µÈ´Ù. null Ä¡´Â ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ¹ÌÁöÀÎ °ÍÀ» ³ªÅ¸³»´Âpublic Exception(Throwable cause)
PrivilegedActionException
µî)ÀÇ ·¡ÆÛÀÎ °æ¿ì¿¡ À¯¿ëÇÕ´Ï´Ù.
cause
- ¿øÀÎ (Throwable.getCause()
¸Þ¼Òµå¿¡ ÀÇÇÑ Ãëµæ¿ëÀ¸·Î º¸Á¸µÈ´Ù). null Ä¡°¡ Çã°¡µÈ´Ù. null Ä¡´Â ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ¹ÌÁöÀÎ °ÍÀ» ³ªÅ¸³»´Â
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.