src/main/java/org/jboss/util/AbstractNestedThrowable.java
/**
    * Prints the composite message and the embedded stack trace to the
    * specified print writer.
    *
    * @param writer  Writer to print to.
    */
Prints the composite message and the embedded stack trace to the
specified print writer.

@param writer  Writer to print to.
Prints the composite message and the embedded stack trace to the specified print writer . @param writer Writer to print to .
public void printStackTrace(final PrintWriter writer) {
      if (nested == null || NestedThrowable.PARENT_TRACE_ENABLED) {
         super.printStackTrace(writer);
      }
      NestedThrowable.Util.print(nested, writer);
   }
public void printStackTrace ( final PrintWriter writer ) { if ( nested == null || NestedThrowable . PARENT_TRACE_ENABLED ) { super . printStackTrace ( writer ) ; } NestedThrowable . Util . print ( nested , writer ) ; }
Prints the composite message and the embedded stack trace to the
 specified print writer.
Prints the composite message and the embedded stack trace to the specified print writer .