Udostępnij za pośrednictwem


Throwable.FillInStackTrace Method

Definition

Fills in the execution stack trace.

[Android.Runtime.Register("fillInStackTrace", "()Ljava/lang/Throwable;", "GetFillInStackTraceHandler")]
public virtual Java.Lang.Throwable FillInStackTrace ();
[<Android.Runtime.Register("fillInStackTrace", "()Ljava/lang/Throwable;", "GetFillInStackTraceHandler")>]
abstract member FillInStackTrace : unit -> Java.Lang.Throwable
override this.FillInStackTrace : unit -> Java.Lang.Throwable

Returns

a reference to this Throwable instance.

Attributes

Remarks

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this ThrowableThrowable#Throwable(String, Throwable, boolean, boolean) is not writable, calling this method has no effect.

Java documentation for java.lang.Throwable.fillInStackTrace().

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