MoveProjectOperation op = new MoveProjectOperation(
entry.getKey(),
entry.getValue().toURI(),
UIText.SharingWizard_MoveProjectActionLabel);
try {
IStatus result = op.execute(monitor, null);
if (!result.isOK())
throw new RuntimeException();
} catch (ExecutionException e) {
if (e.getCause() != null)
throw new InvocationTargetException(e