public ThreadDeadlockInfo( @Nonnull final ThreadInfo aThreadInfo, @Nonnull final Thread aThread, @Nullable final StackTraceElement[] aStackTrace) { m_aThreadInfo = ValueEnforcer.notNull(aThreadInfo, "ThreadInfo"); m_aThread = ValueEnforcer.notNull(aThread, "Thread"); m_aStackTrace = ArrayHelper.getCopy(aStackTrace); }
/** * @return The stack trace at the time the dead lock was found. May be <code>null</code> for * certain system threads. Use <code>getThread ().getStackTrace ()</code> to retrieve the * current stack trace. */ @Nullable @ReturnsMutableCopy public StackTraceElement[] getStackTrace() { return ArrayHelper.getCopy(m_aStackTrace); }