class NonFatalErrorFormatter extends UriProcessingFormatter implements CoreAttributeConstants {

    public NonFatalErrorFormatter(boolean logExtraInfo) {
        super(logExtraInfo);
    }

    /* (non-Javadoc)
     * @see java.util.logging.Formatter#format(java.util.logging.LogRecord)
     */
    public String format(LogRecord lr) {<FILL_FUNCTION_BODY>}
}

//        Throwable ex = lr.getThrown();
        Throwable ex = (Throwable)lr.getParameters()[1];
//        LocalizedError err = (LocalizedError) lr.getParameters()[1];
//        Throwable ex = (Throwable)err.exception;
        StringWriter sw = new StringWriter();
        ex.printStackTrace(new PrintWriter(sw));

        return super.format(lr) + " " + sw.toString();
    
<methods>public void <init>(boolean) ,public void clear() ,public java.lang.String format(java.util.logging.LogRecord) ,public void preformat(java.util.logging.LogRecord) <variables>private static final int GUESS_AT_LINE_LENGTH,private static final java.lang.String NA,protected final ThreadLocal<java.lang.StringBuilder> bufLocal,protected final ThreadLocal<java.lang.String> cachedFormat,protected boolean logExtraInfo