|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.ClassNotFoundException
¾îÇø®ÄÉÀ̼ÇÀÌ, Ŭ·¡½ºÀÇ Ä³¸¯ÅÍ ¶óÀθíÀ» »ç¿ëÇØ ´ÙÀ½ÀÇ ¸Þ¼Òµå·Î ·ÎµåÇÏ·Á°í ÇßÁö¸¸, ÁöÁ¤µÈ À̸§ÀÇ Å¬·¡½ºÀÇ Á¤Àǰ¡ ¹ß°ßµÇÁö ¾Ê¾Ò´ø °æ¿ì¿¡ ½½·Î¿ì µË´Ï´Ù.
Class
Ŭ·¡½ºÀÇ forName
¸Þ¼Òµå
ClassLoader
Ŭ·¡½ºÀÇ findSystemClass
¸Þ¼Òµå
ClassLoader
Ŭ·¡½ºÀÇ loadClass
¸Þ¼Òµå
¸±¸®½º 1.4 ¿¡¼´Â ÀÌ ¿¹¿Ü´Â ¹ü¿ëÀÇ ¿¹¿Ü ¿¬¼â ±â±¸¿¡ ¸ÂÃß¾î °³·®µÇ°í ÀÖ½À´Ï´Ù. ¡¸Å¬·¡½ºÀÇ ·Îµå½Ã¿¡ ¹ß»ýÇÑ ¿É¼Ç ¿¹¿Ü¡¹ (±¸Ãà½Ã¿¡ ½½·Î¿ì µÇ¾îgetException()
¸Þ¼Òµå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º °¡´É)´Â cause ¸Þ¼Òµå·Î ºÒ¸®°Ô µÇ¾î, Àü¼úÀÇ ¡¸À¯»ê ¸Þ¼Òµå¡¹¿¡ °¡¼¼ÇØ Throwable.getCause()
¸Þ¼Òµå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º °¡´ÉÇÕ´Ï´Ù.
Class.forName(java.lang.String)
,
ClassLoader.findSystemClass(java.lang.String)
,
ClassLoader.loadClass(java.lang.String, boolean)
,
Á÷·ÄÈ µÈ Çü½Ä »ý¼ºÀÚÀÇ °³¿ä | |
ClassNotFoundException ()
»ó¼¼ ¸Þ¼¼Áö¸¦ ÁöÁ¤ÇÏÁö ¾Ê°í ClassNotFoundException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
ClassNotFoundException (String s)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â ClassNotFoundException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
ClassNotFoundException (String s,
Throwable ex)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¿Í Ŭ·¡½ºÀÇ ·Îµå½Ã¿¡ »ý±ä ¿É¼ÇÀÇ ¿¹¿Ü¸¦ °¡Áö´Â ClassNotFoundException ¸¦ »ý¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
Throwable |
getCause ()
ÀÌ ¿¹¿ÜÀÇ ¿øÀÎ (Ŭ·¡½ºÀÇ ·Îµå½Ã¿¡ ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì´Â ½½·Î¿ì µÈ ¿¹¿Ü¸¦, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â null)À» µ¹·ÁÁÝ´Ï´Ù. |
Throwable |
getException ()
Ŭ·¡½ºÀÇ ·Îµå¸¦ ½ÃµµÇϰí ÀÖÀ» ¶§ ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì¿¡ »ý±ä ¿¹¿Ü¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Ŭ·¡½º 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 |
»ý¼ºÀÚÀÇ »ó¼¼ |
public ClassNotFoundException()
ClassNotFoundException
¸¦ ±¸ÃàÇÕ´Ï´Ù.
public ClassNotFoundException(String s)
ClassNotFoundException
¸¦ ±¸ÃàÇÕ´Ï´Ù.
s
- »ó¼¼ ¸Þ¼¼Áöpublic ClassNotFoundException(String s, Throwable ex)
ClassNotFoundException
¸¦ »ý¼ºÇÕ´Ï´Ù.
s
- »ó¼¼ ¸Þ¼¼Áöex
- Ŭ·¡½ºÀÇ ·Îµå½Ã¿¡ »ý±ä ¿¹¿Ü¸Þ¼ÒµåÀÇ »ó¼¼ |
public Throwable getException()
ÀÌ ¸Þ¼Òµå´Â ¹ü¿ëÀÇ ¿¹¿Ü ¿¬¼â ±â´É¿¡ ¼±ÇàÇÕ´Ï´Ù. ÀÌ Á¤º¸¸¦ ÃëµæÇÏ´Â ¼ö´ÜÀ¸·Î¼´Â Throwable.getCause()
¸Þ¼Òµå¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
Exception
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.