Java.Lang.Throwable.Cause Property

Returns the cause of this Throwable, or null if there is no cause.

Syntax

[get: Android.Runtime.Register("getCause", "()Ljava/lang/Throwable;", "GetGetCauseHandler")]
public virtual Throwable Cause { get; }

Value

  • Throwable this Throwable's cause.

Remarks

Returns the cause of this Throwable, or null if there is no cause.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: API Level 1