public class CertStoreException extends GeneralSecurityException
CertStore
各种问题检索证书和CRLs。
一个CertStoreException
提供异常的包装支持。如果有任何错误,返回getCause
方法,造成这种异常被抛出。
并发访问
除非另有说明,在这个类中定义的方法不是线程安全的。需要访问一个单一对象的多个线程同时应同步,并提供必要的锁。多线程每个操作单独的对象不需要同步。
CertStore
,
Serialized Form
Constructor and Description |
---|
CertStoreException()
创建一个
CertStoreException 与
null 的详细信息。
|
CertStoreException(String msg)
创建一个给定的详细信息
CertStoreException 。
|
CertStoreException(String msg, Throwable cause)
创建一个指定详细信息和原因
CertStoreException 。
|
CertStoreException(Throwable cause)
创建一个
CertStoreException 包装指定的时间。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CertStoreException()
CertStoreException
与
null
的详细信息。
public CertStoreException(String msg)
CertStoreException
。详细信息是一个
String
描述这个特殊的例外。
msg
-详细信息
public CertStoreException(Throwable cause)
CertStoreException
包装指定的时间。这允许任何例外被转换成一个
CertStoreException
,同时保留有关原因的信息,这可能是有用的用于调试。的详细信息的设置(
cause==null ? null : cause.toString()
)(通常包含类和详细信息的原因)。
cause
的原因(这是以后的
getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
public CertStoreException(String msg, Throwable cause)
CertStoreException
。
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.