|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.reflect.InvocationTargetException
InvocationTargetException ´Â ºÒ·Á °¡´Â ¸Þ¼Òµå ¶Ç´Â constructor ÀÌ ½½·Î¿ì ÇÏ´Â ¿¹¿Ü¸¦ ·¦ Çϴ üũ°¡ ³¡³ ¿¹¿ÜÀÔ´Ï´Ù.
1.4 ¸±¸®½º¿¡¼´Â ÀÌ ¿¹¿Ü´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ ±â±¸¿¡ ÀûÇÕÇϵµ·Ï(µíÀÌ) °³·®µÇ°í ÀÖ½À´Ï´Ù. ±¸Ãà½Ã¿¡ Á¦°øµÇ¾îgetTargetException() ¸Þ¼Òµå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º µÇ´Â ¡¸Å¸°Ù ¿¹¿Ü¡¹´Â ÇöÀç cause ¸Þ¼Òµå·Î¼ ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù. ¶Ç, À̰ÍÀº Àü¼úÇÑ ¡¸À¯»ê ¸Þ¼Òµå¡¹¶ó°í °°ÀÌ,Throwable.getCause() ¸Þ¼Òµå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Method ,
Constructor ,
Á÷·ÄÈ µÈ Çü½Ä | »ý¼ºÀÚÀÇ °³¿ä | |
protected |
InvocationTargetException ()
Ÿ°Ù ¿¹¿Ü¿¡ null ¸¦ ÁöÁ¤ÇØ,InvocationTargetException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
InvocationTargetException (Throwable target)
Ÿ°Ù ¿¹¿Ü¸¦ »ç¿ëÇØ InvocationTargetException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
InvocationTargetException (Throwable target,
String s)
Ÿ°Ù ¿¹¿Ü ¹× »ó¼¼ ¸Þ¼¼Áö¸¦ »ç¿ëÇØ, InvocationTargetException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
| ¸Þ¼ÒµåÀÇ °³¿ä | |
Throwable |
getCause ()
ÀÌ ¿¹¿ÜÀÇ ¿øÀÎ (½½·Î¿ì µÈ Ÿ°Ù ¿¹¿Ü,null µµ °¡´É)À» µ¹·ÁÁÝ´Ï´Ù. |
Throwable |
getTargetException ()
½½·Î¿ì µÈ Ÿ°Ù ¿¹¿Ü¸¦ ÃëµæÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Throwable ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| »ý¼ºÀÚÀÇ »ó¼¼ |
protected InvocationTargetException()
null ¸¦ ÁöÁ¤ÇØ,InvocationTargetException ¸¦ ±¸ÃàÇÕ´Ï´Ù.
public InvocationTargetException(Throwable target)
target - Ÿ°Ù ¿¹¿Ü
public InvocationTargetException(Throwable target,
String s)
target - Ÿ°Ù ¿¹¿Üs - »ó¼¼ ¸Þ¼¼Áö| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public Throwable getTargetException()
ÀÌ ¸Þ¼Òµå´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ ±â´É¿¡ ¼±ÇàÇÕ´Ï´Ù. ÀÌ Á¤º¸¸¦ ÃëµæÇϱâ À§Çؼ,Throwable.getCause() ¸Þ¼Òµå¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
public Throwable getCause()
Throwable ³»ÀÇ getCause
|
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.