private void restore() { try { importCookies(persister.restore()); } catch (PersistenceException e) { if (logErrors) { e.printStackTrace(); } exceptionHandler.onRestoreFailure(e); } }