Android.Runtime.AndroidEnvironment.RaiseThrowable Method
Registers throwable as the exception to raise when control returns to the Android execution environment.

Syntax

public static void RaiseThrowable (Java.Lang.Throwable throwable)

Parameters

throwable
A Java.Lang.Throwable to raise in the Android execution environment.

Exceptions

TypeReason
ArgumentNullException throwable is null.

Remarks

Note: DO NOT CALL MORE THAN ONCE before control is returned to Android. Calling more than once will result in aborting the process.

Requirements

Namespace: Android.Runtime
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0