Java.Lang.Throwable.PrintStackTrace Method
Writes a printable representation of this Throwable's stack trace to the specified print writer.

Syntax

[Android.Runtime.Register("printStackTrace", "(Ljava/io/PrintWriter;)V", "GetPrintStackTrace_Ljava_io_PrintWriter_Handler")]
public virtual void PrintStackTrace (Java.IO.PrintWriter err)

Parameters

err
the writer to write the stack trace on.

Remarks

Writes a printable representation of this Throwable's stack trace to the specified print writer. If the Throwable contains a Throwable.Cause, the method will be invoked recursively for the nested Throwable.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1