summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
eee2d42)
Change-Id: I8c3d8a5e7ada9bb39822d364e765be253c6a9691
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
LOG.debug("Storage file does not exist, creating empty file");
try {
boolean result = storage.createNewFile();
LOG.debug("Storage file does not exist, creating empty file");
try {
boolean result = storage.createNewFile();
throw new RuntimeException("Unable to create storage file " + storage);
throw new RuntimeException("Unable to create storage file " + storage);
} catch (IOException e) {
throw new RuntimeException("Unable to create storage file " + storage, e);
}
} catch (IOException e) {
throw new RuntimeException("Unable to create storage file " + storage, e);
}
}
public static Config fromXml(File from) {
}
public static Config fromXml(File from) {
try {
JAXBContext jaxbContext = JAXBContext.newInstance(Config.class);
try {
JAXBContext jaxbContext = JAXBContext.newInstance(Config.class);