public class CertStoreException extends GeneralSecurityException
CertStore 。
A CertStoreException提供对包装异常的支持。 getCause方法返回引发此异常抛出的throwable(如果有)。
并发访问
除非另有说明,否则此类中定义的方法不是线程安全的。 需要同时访问单个对象的多个线程应在其间同步并提供必要的锁定。 每个操作单独对象的多个线程不需要同步。
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, toStringpublic CertStoreException()
CertStoreException与
null作为其详细信息。
public CertStoreException(String msg)
CertStoreException 。
详细消息是一个String描述这个特定异常。
msg - 详细信息
public CertStoreException(Throwable cause)
CertStoreException ,它包装指定的抛出。
这允许将任何异常转换为CertStoreException ,同时保留有关原因的信息,这可能对调试有用。
详细信息设置为( cause==null ? null : cause.toString() )(通常包含原因的类和详细信息)。
cause - 原因(由getCause()方法保存供以后检索)。
(A null值,表示原因不存在或未知。)
public CertStoreException(String msg, Throwable cause)
CertStoreException带指定详细消息和原因。
msg - 详细信息
cause - 原因(由getCause()方法保存供以后检索)。
(A 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.