/** * Delete the node recursively if the path exists * @param path the node path */ public void deleteRecursivelyIfExists(String path){ try { if(checkExists(path)){ deleteRecursively(path); } } catch (Exception e){ handleConnectionLoss(e); throw new ZkException(e); } }