/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace() { printStackTrace(System.err); }
/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace() { printStackTrace(System.err); }
/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace() { printStackTrace(System.err); }
/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace(PrintStream outStream) { printStackTrace(new PrintWriter(outStream)); }
/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace(PrintStream outStream) { printStackTrace(new PrintWriter(outStream)); }
/** * PUBLIC: * Print both the normal and internal stack traces. */ public void printStackTrace(PrintStream outStream) { printStackTrace(new PrintWriter(outStream)); }
/** * PUBLIC: * Iterate through the exception list printing out the stack traces. */ public void printStackTrace(PrintWriter writer) { super.printStackTrace(writer); if (getExceptionList() != null) { writer.println("SessionLoaderExceptions:"); Iterator<Throwable> exceptionList = getExceptionList().iterator(); while (exceptionList.hasNext()) { writer.write("***"); writer.write(cr()); exceptionList.next().printStackTrace(writer); writer.write(cr()); } } writer.flush(); }
/** * PUBLIC: * Iterate through the exception list printing out the stack traces. */ public void printStackTrace(PrintWriter writer) { super.printStackTrace(writer); if (getExceptionList() != null) { writer.println("SessionLoaderExceptions:"); Iterator exceptionList = getExceptionList().iterator(); while (exceptionList.hasNext()) { writer.write("***"); writer.write(cr()); ((Throwable)exceptionList.next()).printStackTrace(writer); writer.write(cr()); } } writer.flush(); }
/** * PUBLIC: * Iterate through the exception list printing out the stack traces. */ public void printStackTrace(PrintWriter writer) { super.printStackTrace(writer); if (getExceptionList() != null) { writer.println("SessionLoaderExceptions:"); Iterator<Throwable> exceptionList = getExceptionList().iterator(); while (exceptionList.hasNext()) { writer.write("***"); writer.write(cr()); exceptionList.next().printStackTrace(writer); writer.write(cr()); } } writer.flush(); }