code: void print(Object source,
                 Class sourceClass,
                 String methodName,
                 Throwable throwable,
                 String probe,
                 String fileInformation,
                 Object object) {
  
          // Protect against printWriter being cleared while we are in here.
          java.io.PrintWriter localPrintWriter = printWriter;
          if (localPrintWriter != null) {
              localPrintWriter.println("========================FFDC Start==========================");
              if (source != null)
                  localPrintWriter.println("Source=" + source);
              localPrintWriter.println("Source=" + sourceClass + ":" + methodName + " probe=" + probe + "\n throwable=" + throwable);
              localPrintWriter.println("FileInflormation:" + fileInformation);
              print(source,
                    localPrintWriter);
  
              if (object == null)
                  ;
              else if (object instanceof Object[]) {
                  Object[] objects = (Object[]) object;
                  for (int i = 0; i < objects.length; i++) {
                      localPrintWriter.println("------------------------------------------------------------");
                      print(objects[i],
                            localPrintWriter);
                  } // for...  
              } else {
                  localPrintWriter.println("------------------------------------------------------------");
                  print(object,
                        localPrintWriter);
              }
              localPrintWriter.println();
              throwable.printStackTrace(localPrintWriter);
              localPrintWriter.println("=========================FFDC End===========================");
              localPrintWriter.flush();
          } // if (localPrintWriter != null).
      }
docs: Print the FFDC to the printWriter if it is not null.
  
  @param source object requesting the FFDC.
  @param sourceClass of the source object.
  @param methodName where the FFDC is being requested from.
  @param throwable the cause of the exception.
  @param probe identifying the source of the exception.
  @param fileInformation describing the source file.
  @param object Object or Object[] or null object(s) to be dumped in addition to the source.