/** * Prints a stack trace of the code that * created this object. */ public void printStackTrace() { if (createdBy != null && config != null) { createdBy.printStackTrace(config.getLogWriter()); } synchronized(this.traceList) { Iterator it = this.traceList.iterator(); while (it.hasNext()) { AbandonedTrace at = (AbandonedTrace)it.next(); at.printStackTrace(); } } }
/** * Prints a stack trace of the code that * created this object. */ public void printStackTrace() { if (createdBy != null && config != null) { createdBy.printStackTrace(config.getLogWriter()); } synchronized(this.traceList) { Iterator it = this.traceList.iterator(); while (it.hasNext()) { AbandonedTrace at = (AbandonedTrace)it.next(); at.printStackTrace(); } } }