code: public static List<String> createBacktrace(final Throwable t) {
          final List<String> bTrace = new LinkedList<String>();
          for (final StackTraceElement ste : t.getStackTrace()) {
              bTrace.add(BT_PREFIX + ste.toString());
          }
          if (t.getCause() != null) {
              addCauseToBacktrace(t.getCause(), bTrace);
          }
          return bTrace;
      }
docs: Creates a Resque backtrace from a Throwable's stack trace. Includes
  causes.
  
  @param t
  the Exception to use
  @return a list of strings that represent how the exception's stacktrace
  appears.