code: @Override
      public void printStackTrace() {
          super.printStackTrace();
          if (mRootCause != null) {
              System.out.println("--- ROOT CAUSE ---");
              mRootCause.printStackTrace();
          }
      }
docs: Print stack trace for exception and for root cause exception if htere is one.
  
  @see java.lang.Throwable#printStackTrace()