X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fwizards%2FChangeRightsWizard.java;h=a3e70b9c3483192f8fb0b3306de85252d0aa5e2f;hb=c1e31af7a9fc27624cdb297d4d00d44d9a1b9885;hp=99dd8e1438908bab779c41d2225ade963d0e76af;hpb=2db415932b071525adb52c6374e021174512a924;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/wizards/ChangeRightsWizard.java b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/wizards/ChangeRightsWizard.java index 99dd8e143..a3e70b9c3 100644 --- a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/wizards/ChangeRightsWizard.java +++ b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/wizards/ChangeRightsWizard.java @@ -18,8 +18,8 @@ package org.argeo.slc.client.ui.dist.wizards; import javax.jcr.RepositoryException; import javax.jcr.Session; -import org.argeo.ArgeoException; import org.argeo.jcr.JcrUtils; +import org.argeo.slc.SlcException; import org.eclipse.jface.wizard.Wizard; /** @@ -44,7 +44,7 @@ public class ChangeRightsWizard extends Wizard { page = new ChooseRightsPage(); addPage(page); } catch (Exception e) { - throw new ArgeoException("Cannot add page to wizard ", e); + throw new SlcException("Cannot add page to wizard ", e); } } @@ -56,7 +56,7 @@ public class ChangeRightsWizard extends Wizard { JcrUtils.addPrivilege(currentSession, "/", page.getGroupName(), page.getAuthTypeStr()); } catch (RepositoryException re) { - throw new ArgeoException( + throw new SlcException( "Unexpected error while setting privileges", re); } return true;