/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }
/** * Writes the STACK header to the log for the given entry. * @param entry the entry to write the stacktrace for * @throws IOException if any error occurs writing to the log */ private void writeStack(FrameworkLogEntry entry) throws IOException { Throwable t = entry.getThrowable(); if (t != null) { String stack = getStackTrace(t); write(STACK); writeSpace(); write(Integer.toString(entry.getStackCode())); writeln(); write(stack); } }