InvalidKeySpecException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| InvalidKeySpecException() |
构造无详细信息消息的 InvalidKeySpecException。 |
| InvalidKeySpecException(Throwable) |
创建具有指定原因和详细信息消息的 |
| InvalidKeySpecException(String) |
使用指定的详细信息消息构造 InvalidKeySpecException。 |
| InvalidKeySpecException(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| InvalidKeySpecException(String, Throwable) |
使用指定的详细信息消息和原因创建一个 |
InvalidKeySpecException()
构造无详细信息消息的 InvalidKeySpecException。
[Android.Runtime.Register(".ctor", "()V", "")]
public InvalidKeySpecException();
- 特性
注解
构造无详细信息消息的 InvalidKeySpecException。 详细信息消息是描述此特定异常的字符串。
适用于 . 的 java.security.spec.InvalidKeySpecException.InvalidKeySpecException()Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
InvalidKeySpecException(Throwable)
创建具有指定原因和详细信息消息的
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public InvalidKeySpecException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Security.Spec.InvalidKeySpecException : Java.Lang.Throwable -> Java.Security.Spec.InvalidKeySpecException
参数
- cause
- Throwable
原因(此方法保存供以后检索 #getCause() )。 (允许使用值 null ,并指示原因不存在或未知。
- 特性
注解
创建具有指定原因和详细信息消息的
在 1.5 中添加。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
InvalidKeySpecException(String)
使用指定的详细信息消息构造 InvalidKeySpecException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public InvalidKeySpecException(string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.Spec.InvalidKeySpecException : string -> Java.Security.Spec.InvalidKeySpecException
参数
- msg
- String
详细信息消息。
- 特性
注解
使用指定的详细信息消息构造 InvalidKeySpecException。 详细信息消息是描述此特定异常的字符串。
适用于 . 的 java.security.spec.InvalidKeySpecException.InvalidKeySpecException(java.lang.String)Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
InvalidKeySpecException(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected InvalidKeySpecException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Spec.InvalidKeySpecException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Spec.InvalidKeySpecException
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
InvalidKeySpecException(String, Throwable)
使用指定的详细信息消息和原因创建一个 InvalidKeySpecException 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public InvalidKeySpecException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Security.Spec.InvalidKeySpecException : string * Java.Lang.Throwable -> Java.Security.Spec.InvalidKeySpecException
参数
- message
- String
详细信息消息(此方法保存以供以后检索 #getMessage() )。
- cause
- Throwable
原因(此方法保存供以后检索 #getCause() )。 (允许使用值 null ,并指示原因不存在或未知。
- 特性
注解
使用指定的详细信息消息和原因创建一个 InvalidKeySpecException 。
在 1.5 中添加。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。