Exemplo n.º 1
0
 /**
  * Returns the current stack trace of the thread, or an empty stack trace if the thread is not
  * currently running.
  */
 public synchronized StackTraceElement[] getStackTrace() {
   return thread != null ? thread.getStackTrace() : EmptyArray.STACK_TRACE_ELEMENT;
 }