ForkJoinTask.Exception Property

Definition

Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if none or if the method has not yet completed.

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

Property Value

the exception, or null if none

Attributes

Remarks

Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if none or if the method has not yet completed.

Java documentation for java.util.concurrent.ForkJoinTask.getException().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to