code: @Override
      public void printStackTrace() {
          if (exceptions != null && exceptions.size() > 0) {
              Throwable cause = (Throwable) exceptions.get(0);
              cause.printStackTrace();
          } else {
  
              super.printStackTrace();
          }
      }
docs: <p>
  Formats and prints all the exceptions added to the ArrayList using the addException API.
  The output will be printed to System error.
  </p>