Most visited

Recently visited

Added in API level 1

KeyManagementException

public class KeyManagementException
extends KeyException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.KeyException
           ↳ java.security.KeyManagementException


这是处理密钥管理的所有操作的一般密钥管理例外。 开发人员为创建更详细的信息而创建的KeyManagementException子类的示例可能包括:

也可以看看:

Summary

Public constructors

KeyManagementException()

构造没有详细消息的KeyManagementException。

KeyManagementException(String msg)

用指定的详细信息构造一个KeyManagementException。

KeyManagementException(String message, Throwable cause)

用指定的详细信息和原因创建一个 KeyManagementException

KeyManagementException(Throwable cause)

创建 KeyManagementException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

KeyManagementException

Added in API level 1
KeyManagementException ()

构造没有详细消息的KeyManagementException。 详细消息是描述此特定异常的字符串。

KeyManagementException

Added in API level 1
KeyManagementException (String msg)

用指定的详细信息构造一个KeyManagementException。 详细消息是描述此特定异常的字符串。

Parameters
msg String: the detail message.

KeyManagementException

Added in API level 1
KeyManagementException (String message, 
                Throwable cause)

用指定的详细信息和原因创建一个 KeyManagementException

Parameters
message String: the detail message (which is saved for later retrieval by the getMessage() method).
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.)

KeyManagementException

Added in API level 1
KeyManagementException (Throwable cause)

创建 KeyManagementException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

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.)

Hooray!