src/main/java/org/jboss/util/NestedRuntimeException.java
public void printStackTrace(final PrintStream stream) {
      if (nested == null || NestedThrowable.PARENT_TRACE_ENABLED) {
         super.printStackTrace(stream);
      }
      NestedThrowable.Util.print(nested, stream);
   }
public void printStackTrace(final PrintStream stream) {
      if (nested == null || NestedThrowable.PARENT_TRACE_ENABLED) {
         super.printStackTrace(stream);
      }
      NestedThrowable.Util.print(nested, stream);
   }
public void printStackTrace ( final PrintStream stream ) { if ( nested == null || NestedThrowable . PARENT_TRACE_ENABLED ) { super . printStackTrace ( stream ) ; } NestedThrowable . Util . print ( nested , stream ) ; }
Prints the composite message and the embedded stack trace to the
specified print stream.

@param stream  Stream to print to.
Prints the composite message and the embedded stack trace to the specified print stream .