Android Guides | Samples

Java.Lang.Reflect.InvocationTargetException Class

This class provides a wrapper for an exception thrown by a Method or Constructor invocation.

See Also: InvocationTargetException

Syntax

[Android.Runtime.Register("java/lang/reflect/InvocationTargetException", DoNotGenerateAcw=true)]
public class InvocationTargetException : ReflectiveOperationException

Remarks

This class provides a wrapper for an exception thrown by a Method or Constructor invocation.

See Also

[Android Documentation]

Requirements

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

The members of Java.Lang.Reflect.InvocationTargetException are listed below.

See Also: ReflectiveOperationException

Public Constructors

Constructs a new InvocationTargetException instance with its cause / target exception filled in.
Constructs a new InvocationTargetException instance with its cause / target exception and message filled in.

Protected Constructors

Constructs a new InvocationTargetException instance with a null cause / target exception.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
TargetExceptionThrowable. Returns the target exception, which may be null.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.