共用方式為


GeneralSecurityException 建構函式

定義

多載

GeneralSecurityException()

建構沒有詳細訊息的 GeneralSecurityException。

GeneralSecurityException(Throwable)

GeneralSecurityException使用指定的原因和的詳細數據訊息(cause==null ? null : cause.toString())建立 ,其通常包含的類別和詳細數據訊息cause

GeneralSecurityException(String)

使用指定的詳細數據訊息建構 GeneralSecurityException。

GeneralSecurityException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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)

GeneralSecurityException使用指定的原因和的詳細數據訊息(cause==null ? null : cause.toString())建立 ,其通常包含的類別和詳細數據訊息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 值,並指出原因不存在或未知。

屬性

備註

GeneralSecurityException使用指定的原因和的詳細數據訊息(cause==null ? null : cause.toString())建立 ,其通常包含的類別和詳細數據訊息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 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (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 屬性授權中所述的詞彙使用。

適用於