語言

PrivilegedActionException.Exception 屬性

定義

回傳由特權計算拋出的例外,導致此結果 PrivilegedActionException

public virtual Java.Lang.Exception? Exception { [Android.Runtime.Register("getException", "()Ljava/lang/Exception;", "GetGetExceptionHandler")] get; }
[<get: Android.Runtime.Register("getException", "()Ljava/lang/Exception;", "GetGetExceptionHandler")>]
member this.Exception : Java.Lang.Exception

屬性值

特權計算拋出的例外,導致此 PrivilegedActionException

屬性

備註

回傳由特權計算拋出的例外,導致此結果 PrivilegedActionException

此方法早於通用例外鏈接功能。 此 Throwable#getCause() 方法現已成為獲取這些資訊的首選方式。

Java 文件 java.security.PrivilegedActionException.getException()

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

適用於