public class KeyException extends GeneralSecurityException
Key , InvalidKeyException , KeyManagementException , Serialized Form
| Constructor and Description |
|---|
KeyException()
构造一个没有详细消息的KeyException。
|
KeyException(String msg)
构造具有指定详细消息的KeyException。
|
KeyException(String message, Throwable cause)
创建
KeyException带指定详细消息和原因。
|
KeyException(Throwable cause)
创建
KeyException与指定的原因和详细消息
(cause==null ? null : cause.toString()) (它通常包含的类和详细消息
cause )。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KeyException()
public KeyException(String msg)
msg - 详细信息。
public KeyException(String message, Throwable cause)
KeyException带指定详细消息和原因。
message - 详细信息(保存以供稍后通过
Throwable.getMessage()方法
检索 )。
cause - 原因(由Throwable.getCause()方法保存供以后检索)。
( null A null值,并表示原因不存在或未知。)
public KeyException(Throwable cause)
KeyException与指定的原因和详细消息
(cause==null ? null : cause.toString()) (它通常包含的类和详细消息
cause )。
cause - 原因(由Throwable.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.