|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.security.GeneralSecurityException | +--java.security.cert.CertPathValidatorException
Áõ¸í¼ ÆÐ½ºÀÇ Å¸´ç¼ºÀ» °Ë»çÇÒ °æ¿ì¿¡ °ËÃâµÇ´Â ´Ù¾çÇÑ ¹®Á¦ÀÇ 1 °³¸¦ ³ªÅ¸³»´Â ¿¹¿ÜÀÔ´Ï´Ù.
CertPathValidatorException
¿¡¼´Â ·¦ Çϰí ÀÖ´Â ¿¹¿Ü¸¦ ¼Æ÷Æ®Çϰí ÀÖ½À´Ï´Ù. getCause
¸Þ¼Òµå´Â ÀÌ ¿¹¿Ü°¡ ½½·Î¿ì µÇ´Â ¿øÀÎÀÌ µÇ´Â ½½·Î¿ì °¡´É ¿ÀºêÁ§Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù (Á¸ÀçÇÏ´Â °æ¿ì).
CertPathValidatorException
¿¡´Â ¿¹¿Ü°¡ ½½·Î¿ì µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø Áõ¸í¼ ÆÐ½º¿Í ¿¹¿Ü°¡ ½½·Î¿ì µÇ´Â ¿øÀÎÀÌ µÈ Áõ¸í¼ ÆÐ½ºÀÇ Áõ¸í¼ÀÇ À妽ºµµ Æ÷ÇԵ˴ϴÙ. ÀÌ Á¤º¸¸¦ ÃëµæÇÏ·Á¸é ,getCertPath
¸Þ¼Òµå¿Í getIndex
¸Þ¼Òµå¸¦ »ç¿ëÇÕ´Ï´Ù.
º´Çà ¾×¼¼½º
Ưº°È÷ °ÅÀýÇÏÁö ¾Ê´Â ÀÌ»ó ÀÌ Å¬·¡½º¿¡¼ Á¤Àǵǰí ÀÖ´Â ¸Þ¼Òµå´Â thread ¼¼ÀÌÇÁ°¡ ¾Æ´Õ´Ï´Ù. ´ÜÀÏÀÇ ¿ÀºêÁ§Æ®¿¡ º´Çà ¾×¼¼½º ÇÒ Çʿ䰡 ÀÖ´Â º¹¼ö thread´Â thread°£¿¡ µ¿±â¸¦ Àâ¾Æ, Çʿ信 µû¶ó¼ Àá±×Áö ¾ÊÀ¸¸é ¾ÈµË´Ï´Ù. ´Ù¸¥ ¿ÀºêÁ§Æ®¸¦ Á¶ÀÛÇÏ´Â º¹¼ö thread¿¡¼´Â µ¿±â¸¦ ÃëÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù.
CertPathValidator
,
Á÷·ÄÈ µÈ Çü½Ä »ý¼ºÀÚÀÇ °³¿ä | |
CertPathValidatorException ()
»ó¼¼ ¸Þ¼¼Áö¸¦ ÁöÁ¤ÇÏÁö ¾Ê°í CertPathValidatorException ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
CertPathValidatorException (String msg)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â CertPathValidatorException ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
CertPathValidatorException (String msg,
Throwable cause)
ÁöÁ¤ÇÑ »ó¼¼ ¸Þ¼¼Áö¿Í ¿øÀÎÀ» °¡Áö´Â CertPathValidatorException ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
CertPathValidatorException (String msg,
Throwable cause,
CertPath certPath,
int index)
ÁöÁ¤ÇÑ »ó¼¼ ¸Þ¼¼Áö ¿øÀÎ, Áõ¸í¼ ÆÐ½º, ¹× À妽º¸¦ °¡Áö´Â CertPathValidatorException ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
CertPathValidatorException (Throwable cause)
ÁöÁ¤ÇÑ ½½·Î¿ì °¡´ÉÇÑ ¿ÀºêÁ§Æ®¸¦ ·¦ ÇÏ´Â CertPathValidatorException ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
Throwable |
getCause ()
ÀÌ CertPathValidatorException ÀÇ ¿øÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. |
CertPath |
getCertPath ()
¿¹¿Ü°¡ ½½·Î¿ì µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø Áõ¸í¼ ÆÐ½º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getIndex ()
½½·Î¿ì µÈ ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ Áõ¸í¼ ÆÐ½ºÀÇ Áõ¸í¼ÀÇ À妽º¸¦ µ¹·ÁÁÝ´Ï´Ù. |
String |
getMessage ()
CertPathValidatorException ÀÇ »ó¼¼ ¸Þ¼¼Áö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
printStackTrace ()
System.err ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. |
void |
printStackTrace (PrintStream ps)
PrintStream ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. |
void |
printStackTrace (PrintWriter pw)
PrintWriter ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. |
String |
toString ()
³»ºÎÀÇ (·¦ µÈ) ¿øÀÎÀÌ ÀÖÀ¸¸é ±× ±â¼úÀ» Æ÷ÇÔÇÑ, ÀÌ ¿¹¿Ü¿¡ ´ëÇØ ±â¼úÇϴ ij¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. |
Ŭ·¡½º java.lang. Throwable ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
fillInStackTrace , getLocalizedMessage , getStackTrace , initCause , setStackTrace |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public CertPathValidatorException()
CertPathValidatorException
¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
public CertPathValidatorException(String msg)
CertPathValidatorException
¸¦ ÀÛ¼ºÇÕ´Ï´Ù. »ó¼¼ ¸Þ¼¼Áö¶õ, ÀÌ ¿¹¿Ü¸¦ ±â¼úÇÏ´Â String
ÀÔ´Ï´Ù.
msg
- »ó¼¼ ¸Þ¼¼Áöpublic CertPathValidatorException(Throwable cause)
CertPathValidatorException
¸¦ ÀÛ¼ºÇÕ´Ï´Ù. À̰Ϳ¡ ÀÇÇØ ¾î¶² ¿¹¿Ü¶óµµ, µð¹ö±×½Ã¿¡ µµ¿òÀÌ µÇ´Â ·¦ µÈ ¿¹¿ÜÀÇ Á¤º¸¸¦ º¸°ü À¯ÁöÇϸé¼,CertPathValidatorException
·Î º¯È¯ÇÒ ¼ö ÀÖ½À´Ï´Ù. »ó¼¼ ¸Þ¼¼Áö´Â ¡¸(cause==null ? null : cause.toString()
)¡¹·Î ¼³Á¤µÇ¾î Åë»ó, ¿øÀÎÀÌ µÈ Ŭ·¡½º¿Í »ó¼¼ ¸Þ¼¼Áö°¡ Æ÷ÇԵ˴ϴÙ.
cause
- ¿øÀÎ. ³ªÁß¿¡ getCause()
¸Þ¼Òµå·Î ²¨³¾ ¼ö ÀÖ°Ô º¸Á¸µÈ´Ù. null
Ä¡µµ Çã°¡µÇ¾î ±× °æ¿ì´Â ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³½´Ùpublic CertPathValidatorException(String msg, Throwable cause)
CertPathValidatorException
¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
msg
- »ó¼¼ ¸Þ¼¼Áöcause
- ¿øÀÎ. ³ªÁß¿¡ getCause()
¸Þ¼Òµå·Î ²¨³¾ ¼ö ÀÖ°Ô º¸Á¸µÈ´Ù. null
Ä¡µµ Çã°¡µÇ¾î ±× °æ¿ì´Â ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³½´Ùpublic CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)
CertPathValidatorException
¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
msg
- »ó¼¼ ¸Þ¼¼Áö. Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â null
cause
- ¿øÀÎ. Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â null
certPath
- ¿¡·¯°¡ °ËÃâµÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø Áõ¸í¼ ÆÐ½ºindex
- ¿¡·¯ÀÇ ¿øÀÎÀÌ µÈ Áõ¸í¼ ÆÐ½ºÀÇ Áõ¸í¼ÀÇ À妽º. Ÿ´çÇÏÁö ¾ÊÀº °æ¿ì´Â -1. CertPath
ÀÇ Áõ¸í¼ ¸®½ºÆ®´Â 0 À¸·ÎºÎÅÍ ½ÃÀ۵Ǵ °Í¿¡ ÁÖÀÇ
IndexOutofBoundsException
- À妽º°¡ ¹üÀ§¿ÜÀÇ °æ¿ì (index < -1 || (certPath ! = null && index >= certPath.getCertificates(). size())
IllegalArgumentException
- certPath
°¡ null
À̸ç, ÇÑÆí index
°¡ -1 °¡ ¾Æ´Ñ °æ¿ì¸Þ¼ÒµåÀÇ »ó¼¼ |
public String getMessage()
CertPathValidatorException
ÀÇ »ó¼¼ ¸Þ¼¼Áö¸¦ µ¹·ÁÁÝ´Ï´Ù.
Throwable
³»ÀÇ getMessage
null
public CertPath getCertPath()
CertPath
. ÁöÁ¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â null
public int getIndex()
CertPath
ÀÇ Áõ¸í¼ ¸®½ºÆ®´Â 0 À¸·ÎºÎÅÍ ½ÃÀ۵Ǵ °Í¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. À妽º°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â -1 ÀÌ µ¹·ÁÁÖ¾îÁý´Ï´Ù.
public Throwable getCause()
CertPathValidatorException
ÀÇ ¿øÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÀÇ °æ¿ì´Â null
¸¦ µ¹·ÁÁÝ´Ï´Ù.
Throwable
³»ÀÇ getCause
null
public String toString()
Throwable
³»ÀÇ toString
CertPathValidatorException
ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöpublic void printStackTrace()
System.err
ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. ¿øÀÎÀÇ ¹é Æ®·¹À̽º°¡ ÀÖ´Â °æ¿ì´Â ±× ¹é Æ®·¹À̽ºµµ Æ÷ÇԵ˴ϴÙ.
Throwable
³»ÀÇ printStackTrace
public void printStackTrace(PrintStream ps)
PrintStream
ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. ¿øÀÎÀÇ ¹é Æ®·¹À̽º°¡ ÀÖ´Â °æ¿ì´Â ±× ¹é Æ®·¹À̽ºµµ Æ÷ÇԵ˴ϴÙ.
Throwable
³»ÀÇ printStackTrace
ps
- Ãâ·Â¿¡ »ç¿ëÇÏ´Â PrintStream
public void printStackTrace(PrintWriter pw)
PrintWriter
ÀÇ ½ºÅà Ʈ·¹À̽º¸¦ Ãâ·ÂÇÕ´Ï´Ù. ¿øÀÎÀÇ ¹é Æ®·¹À̽º°¡ ÀÖ´Â °æ¿ì´Â ±× ¹é Æ®·¹À̽ºµµ Æ÷ÇԵ˴ϴÙ.
Throwable
³»ÀÇ printStackTrace
pw
- Ãâ·Â¿¡ »ç¿ëÇÏ´Â PrintWriter
|
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.