public class CertStoreException
extends GeneralSecurityException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.security.GeneralSecurityException | ||||
| java.security.cert.CertStoreException | ||||
指示从 CertStore检索证书和CRL的各种问题之一的例外情况。
CertStoreException提供了对包装异常的支持。 getCause方法返回引发此异常的throwable(如果有的话)将被抛出。
并发访问
除非另有说明,否则此类中定义的方法不是线程安全的。 需要同时访问单个对象的多个线程应该自己同步并提供必要的锁定。 每个操作单独对象的多个线程不需要同步。
也可以看看:
Public constructors |
|
|---|---|
CertStoreException() 用 |
|
CertStoreException(String msg) 用给定的详细信息创建一个 |
|
CertStoreException(Throwable cause) 创建一个包装指定的throwable的 |
|
CertStoreException(String msg, Throwable cause) 用指定的详细信息和原因创建一个 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
CertStoreException (String msg)
用给定的详细信息创建一个CertStoreException 。 详细消息是描述这种特定异常的String 。
| 参数(Parameters) | |
|---|---|
msg |
String: the detail message |
CertStoreException (Throwable cause)
创建一个包装指定的throwable的CertStoreException 。 这允许将任何异常转换为CertStoreException ,同时保留有关原因的信息,这可能对调试有用。 详细消息设置为( cause==null ? null : cause.toString() )(通常包含原因的类和详细消息)。
| 参数(Parameters) | |
|---|---|
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
CertStoreException (String msg, Throwable cause)
用指定的详细信息和原因创建一个 CertStoreException 。
| 参数(Parameters) | |
|---|---|
msg |
String: the detail message |
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |