示例#1
0
文件: Main.java 项目: neosb/genotick
 private static void checkShowPopulation(Parameters parameters) {
   String value = parameters.getValue("showPopulation");
   if (value != null) {
     try {
       showPopulation(value);
     } catch (IllegalAccessException e) {
       Debug.d(e);
     }
     System.exit(0);
   }
 }
示例#2
0
文件: Main.java 项目: neosb/genotick
 private static void setupDebug() {
   Debug.setShowTime(true);
   String outFileName = "genotick_" + DataUtils.getDateTimeString() + ".txt";
   Debug.toFile(outFileName);
 }
示例#3
0
文件: Main.java 项目: neosb/genotick
 private static void setupExceptionHandler() {
   Thread.setDefaultUncaughtExceptionHandler(Debug.createExceptionHandler());
 }