Language

Throwable.ToException(Throwable) Method

Definition

Returns the specified throwable as a Exception.

public static Exception ToException(Java.Lang.Throwable e);
static member ToException : Java.Lang.Throwable -> Exception

Parameters

e
Throwable

The throwable to return.

Returns

The same instance as e; Throwable derives from Exception.

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