Throwable.SetStackTrace(StackTraceElement[]) Throwable.SetStackTrace(StackTraceElement[]) Method

Definition

Sets the array of stack trace elements.

[Android.Runtime.Register("setStackTrace", "([Ljava/lang/StackTraceElement;)V", "GetSetStackTrace_arrayLjava_lang_StackTraceElement_Handler")]
public virtual void SetStackTrace (Java.Lang.StackTraceElement[] stackTrace);
override this.SetStackTrace : Java.Lang.StackTraceElement[] -> unit

Parameters

stackTrace
StackTraceElement[]

Exceptions

if any element in trace is null.

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

See also