Language

JniEnvironment.Exceptions.ExceptionOccurred Method

Definition

Gets the current pending Java throwable without clearing it.

public static Java.Interop.JniObjectReference ExceptionOccurred();
static member ExceptionOccurred : unit -> Java.Interop.JniObjectReference

Returns

The local throwable reference returned by JNI, or an invalid reference when no exception is pending.

Remarks

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