code: @Override
      public void printStackTrace(final PrintWriter s) {
          super.printStackTrace(s);
          if (null != mRootCause) {
              s.println("--- ROOT CAUSE ---");
              mRootCause.printStackTrace(s);
          }
      }
docs: Print stack trace for exception and for root cause exception if htere is one.
  
  @param s Writer to write to.