profile = profileManager.getUserProfile(getID(), false);
} catch (GetFailedException e) {
throw new ProcessExecutionException("User profile could not be loaded.");
}
FileSynchronizer synchronizer;
try {
synchronizer = new FileSynchronizer(networkManager.getSession().getRoot(), profile);
} catch (ClassNotFoundException | NoSessionException | IOException e) {
throw new ProcessExecutionException("FileSynchronizer could not be instantiated.", e);
}
try {
synchronizeFiles(synchronizer);