9899100101102103104105106107108
categoryBuilder.addCategory(category); } } catch (Exception e) { log.error(e.getMessage(), e); e.printStackTrace(); throw new PersistenceException(e.getMessage()); } } return categoryBuilder.getRootCategory(); }
172173174175176177178179
writer.flush(); writer.close(); } catch (Exception e) { log.error(e.getMessage(), e); e.printStackTrace(); throw new PersistenceException(e.getMessage()); } }