|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.cert.CertPathValidatorException
public class CertPathValidatorException
ÀÎÁõ¼ ÆÐ½ºÀÇ Å¸´ç¼ºÀ» °Ë»çÇÒ °æ¿ì¿¡ °ËÃâµÇ´Â ´Ù¾çÇÑ ¹®Á¦ÀÇ 1°³¸¦ ³ªÅ¸³»´Â ¿¹¿ÜÀÔ´Ï´Ù.
CertPathValidatorException
¿¡
¼´Â ·¦ Çϰí ÀÖ´Â ¿¹¿Ü¸¦ Áö¿ø
Çϰí ÀÖ½À´Ï´Ù. getCause
¸Þ¼µå´Â ÀÌ ¿¹¿Ü°¡ ¹ß»ýµÇ´Â ¿øÀÎÀÌ µÇ´Â Throw °¡´É °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù (Á¸ÀçÇÏ´Â °æ¿ì).
CertPathValidatorException
¿¡´Â ¿¹¿Ü°¡ Throw µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø ÀÎÁõ¼
ÆÐ½º¿Í ¿¹¿Ü°¡ ¹ß»ýµÇ´Â ¿øÀÎÀÌ µÈ ÀÎÁõ¼
ÆÐ½ºÀÇ ÀÎÁõ¼
ÀÇ À妽ºµµ Æ÷ÇԵ˴ϴÙ. ÀÌ Á¤º¸¸¦ ÃëµæÇÏ·Á¸é,
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)
ÁöÁ¤ÇÑ Throw °¡´ÉÇÑ °´Ã¼¸¦°¨½Î´Â CertPathValidatorException À»
ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
CertPath |
getCertPath ()
¿¹¿Ü°¡ Throw µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø ÀÎÁõ¼ ÆÐ½º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getIndex ()
Throw µÈ ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ ÀÎÁõ¼ ÆÐ½ºÀÇ ÀÎÁõ¼ ÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º 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 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 CertPath getCertPath()
CertPath
. ÁöÁ¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â null
public int getIndex()
CertPath
ÀÎÁõ¼
¸®½ºÆ®´Â 0 À¸·ÎºÎÅÍ ½ÃÀ۵Ǵ °Í¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. À妽º°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â -1 ÀÌ ¸®Åϵ˴ϴÙ
.
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.