InvocationTargetException.TargetException Property

Definition

Get the thrown target exception.

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

Property Value

Throwable

the thrown target exception (cause of this exception).

Attributes

Remarks

Java documentation for java.lang.reflect.InvocationTargetException.getTargetException().

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