public void printStackTrace(java.io.PrintStream s){
  if (s == null)   s=System.err;
  try {
    super.printStackTrace(s);
  }
 catch (  Exception e) {
  }
  Throwable exception=m_exception;
  for (int i=0; (i < 10) && (null != exception); i++) {
    s.println("---------");
    exception.printStackTrace(s);
    if (exception instanceof TransformerException) {
      TransformerException se=(TransformerException)exception;
      Throwable prev=exception;
      exception=se.getException();
      if (prev == exception)       break;
    }
 else {
      exception=null;
    }
  }
}

public void printStackTrace ( java . io . PrintStream s ) { if ( s == null ) s = System . err ; try { super . printStackTrace ( s ) ; } catch ( Exception e ) { } Throwable exception = m_exception ; for ( int i = 0 ; ( i < 10 ) && ( null != exception ) ; i ++ ) { s . println ( "---------" ) ; exception . printStackTrace ( s ) ; if ( exception instanceof TransformerException ) { TransformerException se = ( TransformerException ) exception ; Throwable prev = exception ; exception = se . getException ( ) ; if ( prev == exception ) break ; } else { exception = null ; } } }
print the the trace of methods from where the error originated . this will trace all nested exception objects , as well as this object .
