語言

NoSuchAlgorithmException 建構函式

定義

多載

名稱 Description
NoSuchAlgorithmException()

構造一個沒有詳細訊息的 NoSuchAlgorithmException。

NoSuchAlgorithmException(Throwable)

建立 NoSuchAlgorithmException 一個指定原因與 的 (cause==null ? null : cause.toString()) 詳細訊息(通常包含 的 cause類別與詳細訊息)。

NoSuchAlgorithmException(String)

構造一個包含指定詳細訊息的 NoSuchAlgorithmException。

NoSuchAlgorithmException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

NoSuchAlgorithmException(String, Throwable)

建立 NoSuchAlgorithmException 包含指定細節訊息與原因的 a。

NoSuchAlgorithmException()

構造一個沒有詳細訊息的 NoSuchAlgorithmException。

[Android.Runtime.Register(".ctor", "()V", "")]
public NoSuchAlgorithmException();
屬性

備註

構造一個沒有詳細訊息的 NoSuchAlgorithmException。 詳細訊息是描述此特定例外的字串。

Java 文件 java.security.NoSuchAlgorithmException.NoSuchAlgorithmException()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

NoSuchAlgorithmException(Throwable)

建立 NoSuchAlgorithmException 一個指定原因與 的 (cause==null ? null : cause.toString()) 詳細訊息(通常包含 的 cause類別與詳細訊息)。

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

參數

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause() )。 (允許一個 null 值,表示原因不存在或未知。)

屬性

備註

建立 NoSuchAlgorithmException 一個指定原因與 的 (cause==null ? null : cause.toString()) 詳細訊息(通常包含 的 cause類別與詳細訊息)。

已在1.5中新增。

Java 文件 java.security.NoSuchAlgorithmException.NoSuchAlgorithmException(java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

NoSuchAlgorithmException(String)

構造一個包含指定詳細訊息的 NoSuchAlgorithmException。

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

參數

msg
String

細節訊息。

屬性

備註

構造一個包含指定詳細訊息的 NoSuchAlgorithmException。 詳細訊息是描述此特定例外的字串,例如可能指定不可用的演算法。

Java 文件 java.security.NoSuchAlgorithmException.NoSuchAlgorithmException(java.lang.String)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

NoSuchAlgorithmException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

NoSuchAlgorithmException(String, Throwable)

建立 NoSuchAlgorithmException 包含指定細節訊息與原因的 a。

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

參數

message
String

詳細訊息(該訊息會被方法保存以供日後檢索 #getMessage() )。

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause() )。 (允許一個 null 值,表示原因不存在或未知。)

屬性

備註

建立 NoSuchAlgorithmException 包含指定細節訊息與原因的 a。

已在1.5中新增。

Java 文件 java.security.NoSuchAlgorithmException.NoSuchAlgorithmException(java.lang.String, java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於