public synchronized Throwable fillInStackTrace ()

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 Throwable is not, calling this method has no effect.

Returns:  a reference to this Throwable instance.

See also:
java.lang.Throwable.printStackTrace()