config = new ConfigBundle();
config.updateFile(configDir);
} catch (IOException e) {
config = new ConfigBundle();
config.updateFile(configDir);
} catch (IOException e) {
}
try {
uiconfig = new UiConfigBundle();
uiconfig.updateFile(configDir);
} catch (IOException e) {
}
try {
uiconfig = new UiConfigBundle();
uiconfig.updateFile(configDir);
} catch (IOException e) {
- tracer = new TraceHandler();
- tracer.setShowErrorDetails(debug);
- tracer.setShowTraces(trace);
+ tracer = new TraceHandler(true, debug, trace);
- syserr(new IOException("Cannot create library for directory: "
- + getFile(Config.LIBRARY_DIR), e));
+ tracer.error(new IOException(
+ "Cannot create library for directory: "
+ + getFile(Config.LIBRARY_DIR), e));
cache = new DataLoader(tmp, ua, hours, hoursLarge);
} catch (IOException e) {
cache = new DataLoader(tmp, ua, hours, hoursLarge);
} catch (IOException e) {
"Cannot create cache (will continue without cache)", e));
}
}
/**
* The traces handler for this {@link Cache}.
"Cannot create cache (will continue without cache)", e));
}
}
/**
* The traces handler for this {@link Cache}.
IOUtils.writeSmallFile(new File(configDir), "LAST_UPDATE",
Long.toString(new Date().getTime()));
} catch (IOException e) {
IOUtils.writeSmallFile(new File(configDir), "LAST_UPDATE",
Long.toString(new Date().getTime()));
} catch (IOException e) {