Udostępnij za pośrednictwem


Throwable.FromException(Exception) Method

Definition

Converts a Exception into a Throwable.

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

Parameters

e
Exception

A Exception to convert to the closest matching Throwable type.

Returns

A Throwable.

Exceptions

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