GeneralSecurityException 构造函数

定义

重载

GeneralSecurityException()

构造不带详细信息消息的 GeneralSecurityException。

GeneralSecurityException(Throwable)

使用指定的原因和详细信息消息(cause==null ? null : cause.toString())创建一个GeneralSecurityException(通常包含类和详细信息消息)。cause

GeneralSecurityException(String)

使用指定的详细信息消息构造 GeneralSecurityException。

GeneralSecurityException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

GeneralSecurityException(String, Throwable)

使用指定的详细信息消息和原因创建一个 GeneralSecurityException

GeneralSecurityException()

构造不带详细信息消息的 GeneralSecurityException。

[Android.Runtime.Register(".ctor", "()V", "")]
public GeneralSecurityException ();
属性

注解

构造不带详细信息消息的 GeneralSecurityException。

适用于 . 的 java.security.GeneralSecurityException.GeneralSecurityException()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

GeneralSecurityException(Throwable)

使用指定的原因和详细信息消息(cause==null ? null : cause.toString())创建一个GeneralSecurityException(通常包含类和详细信息消息)。cause

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public GeneralSecurityException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Security.GeneralSecurityException : Java.Lang.Throwable -> Java.Security.GeneralSecurityException

参数

cause
Throwable

原因(此方法保存供以后检索 #getCause() )。 (允许使用值 null ,并指示原因不存在或未知。

属性

注解

使用指定的原因和详细信息消息(cause==null ? null : cause.toString())创建一个GeneralSecurityException(通常包含类和详细信息消息)。cause

在 1.5 中添加。

适用于 . 的 java.security.GeneralSecurityException.GeneralSecurityException(java.lang.Throwable)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

GeneralSecurityException(String)

使用指定的详细信息消息构造 GeneralSecurityException。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public GeneralSecurityException (string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.GeneralSecurityException : string -> Java.Security.GeneralSecurityException

参数

msg
String

详细信息消息。

属性

注解

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

适用于 . 的 java.security.GeneralSecurityException.GeneralSecurityException(java.lang.String)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

GeneralSecurityException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected GeneralSecurityException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.GeneralSecurityException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.GeneralSecurityException

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

GeneralSecurityException(String, Throwable)

使用指定的详细信息消息和原因创建一个 GeneralSecurityException

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public GeneralSecurityException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Security.GeneralSecurityException : string * Java.Lang.Throwable -> Java.Security.GeneralSecurityException

参数

message
String

详细信息消息(此方法保存以供以后检索 #getMessage() )。

cause
Throwable

原因(此方法保存供以后检索 #getCause() )。 (允许使用值 null ,并指示原因不存在或未知。

属性

注解

使用指定的详细信息消息和原因创建一个 GeneralSecurityException

在 1.5 中添加。

适用于 . 的 java.security.GeneralSecurityException.GeneralSecurityException(java.lang.String, java.lang.Throwable)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于