import javax.jcr.security.AccessControlManager;
import javax.jcr.security.Privilege;
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
import org.argeo.eclipse.ui.EclipseUiUtils;
import org.argeo.eclipse.ui.TreeParent;
import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
dialog.open();
return null;
} catch (RepositoryException re) {
- throw new ArgeoException("Unable to retrieve "
+ throw new EclipseUiException("Unable to retrieve "
+ "path or JCR session to add privilege on " + jcrNode,
re);
}
IMessageProvider.INFORMATION);
}
} catch (RepositoryException e) {
- throw new ArgeoException(
+ throw new EclipseUiException(
"Unable to list privileges on " + path, e);
}
body.layout(true, true);
session.save();
refreshContent();
} catch (RepositoryException re) {
- throw new ArgeoException("Unable to "
+ throw new EclipseUiException("Unable to "
+ "remove privilege for "
+ currPrincipalName + " on " + path, re);
}