JavaTM 2 Platform
Standard Ed. 5.0

java.security.cert
Ŭ·¡½º CertPathValidatorException

java.lang.Object 
  »óÀ§¸¦ È®Àå java.lang.Throwable 
      »óÀ§¸¦ È®Àå java.lang.Exception 
          »óÀ§¸¦ È®Àå java.security.GeneralSecurityException 
              »óÀ§¸¦ È®Àå java.security.cert.CertPathValidatorException
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class CertPathValidatorException
extends GeneralSecurityException

ÀÎÁõ¼­ ÆÐ½ºÀÇ Å¸´ç¼ºÀ» °Ë»çÇÒ °æ¿ì¿¡ °ËÃâµÇ´Â ´Ù¾çÇÑ ¹®Á¦ÀÇ 1°³¸¦ ³ªÅ¸³»´Â ¿¹¿ÜÀÔ´Ï´Ù.

CertPathValidatorException¿¡ ¼­´Â ·¦ Çϰí ÀÖ´Â ¿¹¿Ü¸¦ Áö¿ø Çϰí ÀÖ½À´Ï´Ù. getCause ¸Þ¼­µå´Â ÀÌ ¿¹¿Ü°¡ ¹ß»ýµÇ´Â ¿øÀÎÀÌ µÇ´Â Throw °¡´É °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù (Á¸ÀçÇÏ´Â °æ¿ì).

CertPathValidatorException¿¡´Â ¿¹¿Ü°¡ Throw µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø ÀÎÁõ¼­ ÆÐ½º¿Í ¿¹¿Ü°¡ ¹ß»ýµÇ´Â ¿øÀÎÀÌ µÈ ÀÎÁõ¼­ ÆÐ½ºÀÇ ÀÎÁõ¼­ ÀÇ À妽ºµµ Æ÷ÇԵ˴ϴÙ. ÀÌ Á¤º¸¸¦ ÃëµæÇÏ·Á¸é, getCertPath ¸Þ¼­µå¿Í getIndex¸¦ »ç¿ëÇÕ´Ï´Ù.

º´Çà ¾×¼¼½º

Ưº°È÷ °ÅÀýÇÏÁö ¾Ê´Â ÇÑ, ÀÌ Å¬·¡½º¿¡¼­ Á¤Àǵǰí ÀÖ´Â ¸Þ¼­µå´Â thread¿¡ ´ëÇØ¼­ ¾ÈÀüÇÏÁö´Â ¾Ê½À´Ï´Ù. ´ÜÀÏÀÇ °´Ã¼¿¡ º´Çà ¾×¼¼½º ÇÒ Çʿ䰡 ÀÖ´Â º¹¼ö thread´Â thread°£¿¡ µ¿±â¸¦ Àâ¾Æ, Çʿ信 µû¶ó¼­ Àá±×Áö ¾ÊÀ¸¸é ¾ÈµË´Ï´Ù. ´Ù¸¥ °´Ã¼¸¦ Á¶ÀÛÇÏ´Â º¹¼ö thread¿¡¼­´Â µ¿±â¸¦ ÀâÀ» ÇÊ¿ä´Â ¾ø½À´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4
°ü·Ã Ç׸ñ:
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
 

»ý¼ºÀÚ »ó¼¼

CertPathValidatorException

public CertPathValidatorException()
»ó¼¼ ¸Þ¼¼Áö¸¦ ÁöÁ¤ÇÏÁö ¾Ê°í CertPathValidatorExceptionÀ» ÀÛ¼ºÇÕ´Ï´Ù.


CertPathValidatorException

public CertPathValidatorException(String  msg)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â CertPathValidatorExceptionÀ» ÀÛ¼ºÇÕ´Ï´Ù. »ó¼¼ ¸Þ¼¼Áö¶õ ÀÌ ¿¹¿Ü¸¦ ±â¼úÇÏ´Â String ÀÔ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
msg - »ó¼¼ ¸Þ¼¼Áö

CertPathValidatorException

public CertPathValidatorException(Throwable  cause)
ÁöÁ¤ÇÑ Throw °¡´ÉÇÑ °´Ã¼¸¦°¨½Î´Â CertPathValidatorExceptionÀ» ÀÛ¼ºÇÕ´Ï´Ù. À̰Ϳ¡ ÀÇÇØ ¾î¶² ¿¹¿Ü¶óµµ, µð¹ö±×½Ã¿¡ µµ¿òÀÌ µÇ´Â ·¦ µÈ ¿¹¿ÜÀÇ Á¤º¸¸¦ º¸°ü À¯ÁöÇϸ鼭, CertPathValidatorException·Î º¯È¯ÇÒ ¼ö ÀÖ½À´Ï´Ù. »ó¼¼ ¸Þ¼¼Áö´Â ¡¸(cause==null ? null : cause.toString() )¡¹·Î ¼³Á¤µÇ¾î º¸Åë, ¿øÀÎÀÌ µÈ Ŭ·¡½º¿Í »ó¼¼ ¸Þ¼¼Áö°¡ Æ÷ÇԵ˴ϴÙ.

ÆÄ¶ó¹ÌÅÍ:
cause - ¿øÀÎ (³ªÁß¿¡ getCause() ¸Þ¼­µå·Î ÃëµæÇϱâ À§Çؼ­ º¸Á¸µÈ´Ù). null°ªÀÌ Çã°¡µÇ°í ÀÖ¾î ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³½´Ù

CertPathValidatorException

public CertPathValidatorException(String  msg,
                                  Throwable  cause)
ÁöÁ¤ÇÑ »ó¼¼ ¸Þ¼¼Áö¿Í ¿øÀÎÀ» °¡Áö´Â CertPathValidatorExceptionÀ» ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
msg - »ó¼¼ ¸Þ¼¼Áö
cause - ¿øÀÎ (³ªÁß¿¡ getCause() ¸Þ¼­µå·Î ÃëµæÇϱâ À§Çؼ­ º¸Á¸µÈ´Ù). null°ªÀÌ Çã°¡µÇ°í ÀÖ¾î ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³½´Ù

CertPathValidatorException

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°¡ ¾Æ´Ñ °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

getCertPath

public CertPath  getCertPath()
¿¹¿Ü°¡ Throw µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø ÀÎÁõ¼­ ÆÐ½º¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
¿¹¿Ü°¡ Throw µÇ¾úÀ» ¶§¿¡ °Ë»çÁßÀ̾ú´ø CertPath. ÁöÁ¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â null

getIndex

public int getIndex()
Throw µÈ ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ ÀÎÁõ¼­ ÆÐ½ºÀÇ ÀÎÁõ¼­ ÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù. CertPath ÀÎÁõ¼­ ¸®½ºÆ®´Â 0 À¸·ÎºÎÅÍ ½ÃÀ۵Ǵ °Í¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. À妽º°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â -1 ÀÌ ¸®Åϵ˴ϴ٠.

¹Ýȯ°ª:
¼³Á¤µÇ¾î ÀÖ´Â À妽º. ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â -1

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.