Udostępnij za pośrednictwem


ExceptionUtils.InitCause(Throwable, Throwable) Method

Definition

If we're running on JDK 1.4 or later, initialize the cause for the given throwable.

[Android.Runtime.Register("initCause", "(Ljava/lang/Throwable;Ljava/lang/Throwable;)V", "")]
public static void InitCause (Java.Lang.Throwable? throwable, Java.Lang.Throwable? cause);
[<Android.Runtime.Register("initCause", "(Ljava/lang/Throwable;Ljava/lang/Throwable;)V", "")>]
static member InitCause : Java.Lang.Throwable * Java.Lang.Throwable -> unit

Parameters

throwable
Throwable

The throwable.

cause
Throwable

The cause of the throwable.

Attributes

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