@GwtIncompatible("incompatible method")
    public static String[] getStackFrames(final Throwable throwable) {
        if (throwable == null) {
            return ArrayUtils.EMPTY_STRING_ARRAY;
        }
        return getStackFrames(getStackTrace(throwable));
    }
@ GwtIncompatible ( "incompatible method" ) public static String [ ] getStackFrames ( final Throwable throwable ) { if ( throwable == null ) { return ArrayUtils . EMPTY_STRING_ARRAY ; } return getStackFrames ( getStackTrace ( throwable ) ) ; }
<p>Captures the stack trace associated with the specified
<code>Throwable</code> object, decomposing it into a list of
stack frames.</p>

<p>The result of this method vary by JDK version as this method
uses {@link Throwable#printStackTrace(java.io.PrintWriter)}.
On JDK1.3 and earlier, the cause exception will not be shown
unless the specified throwable alters printStackTrace.</p>

@param throwable  the <code>Throwable</code> to examine, may be null
@return an array of strings describing each stack frame, never null