public class CertPathBuilderException extends GeneralSecurityException
CertPathBuilder
构建证书路径。
一个CertPathBuilderException
提供异常的包装支持。如果有任何错误,返回getCause
方法,造成这种异常被抛出。
并发访问
除非另有说明,在这个类中定义的方法不是线程安全的。需要访问一个单一对象的多个线程同时应同步,并提供必要的锁。多线程每个操作单独的对象不需要同步。
CertPathBuilder
,
Serialized Form
Constructor and Description |
---|
CertPathBuilderException()
创建一个
CertPathBuilderException 与
null 的详细信息。
|
CertPathBuilderException(String msg)
创建一个给定的详细信息
CertPathBuilderException 。
|
CertPathBuilderException(String msg, Throwable cause)
创建一个指定详细信息和原因
CertPathBuilderException 。
|
CertPathBuilderException(Throwable cause)
创建一个
CertPathBuilderException 包装指定的时间。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CertPathBuilderException()
CertPathBuilderException
与
null
的详细信息。
public CertPathBuilderException(String msg)
CertPathBuilderException
。详细信息是一个
String
,详细地描述了这一特殊的例外。
msg
-详细信息
public CertPathBuilderException(Throwable cause)
CertPathBuilderException
包装指定的时间。这允许任何例外被转换成一个
CertPathBuilderException
,同时保留对包裹的异常信息,这可能是有用的用于调试。的详细信息的设置(
cause==null ? null : cause.toString()
)(通常包含类和详细信息的原因)。
cause
的原因(这是以后的
getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
public CertPathBuilderException(String msg, Throwable cause)
CertPathBuilderException
。
msg
-详细信息
cause
的原因(这是以后的
getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.