Here you can find the source of dumpException(Throwable ex)
private static void dumpException(Throwable ex)
//package com.java2s; //License from project: Open Source License import java.io.*; public class Main { private static final String EXCEPTION_FILE = "/mnt/us/system/fontfix.log"; private static void dumpException(Throwable ex) { try {/* w ww. ja v a 2 s . c om*/ FileWriter fw = new FileWriter(EXCEPTION_FILE, true); PrintWriter pw = new PrintWriter(fw); ex.printStackTrace(pw); fw.close(); } catch (Throwable e) { } } }