Throwable.Cause Property

Definition

Returns the cause of this throwable or null if the cause is nonexistent or unknown.

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

Property Value

Throwable

the cause of this throwable or null if the cause is nonexistent or unknown.

Attributes

Remarks

Java documentation for java.lang.Throwable.getCause().

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