221222223224225226227228229230
node.remove(); session.save(); // triggerObservers(this); } } catch (Exception e) { throw new HostDescriptionRetrieveException(e); } finally { closeSession(session); } }
261262263264265266267268269270271
} catch (PathNotFoundException e) { return null; } catch (Exception e) { log.debug(e.getMessage()); e.printStackTrace(); throw new HostDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
274275276277278279280281282
HostDescription result; try { Property prop = node.getProperty(XML_PROPERTY_NAME); result = HostDescription.fromXML(prop.getString()); } catch (Exception e) { throw new HostDescriptionRetrieveException(e); } return result; }
416417418419420421422423424425426
HostDescription hostDescriptor = getHostDescriptor(host); result.add(hostDescriptor); } } } catch (Exception e) { throw new HostDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
298299300301302303304305306307
node.remove(); session.save(); triggerObservers(this); } } catch (Exception e) { throw new HostDescriptionRetrieveException(e); } finally { closeSession(session); } }
319320321322323324325326327328329
332333334335336337338339340
482483484485486487488489490491492
197198199200201202203204205206
237238239240241242243244245246247