String toString()

Returns a String representation of the stack trace.

The string represents the full stack trace starting from the point where a throw occurred to the top of the current call sequence.

The exact format of the string representation is not final.

Source

String toString();