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%2Fmodel%2FWorkspaceElem.java;h=4c78511bc5fc314f08981d1b677d4c40b3b2785a;hb=e07ded4632e53f8b8869763bc1f1f4091361e76e;hp=3be73b5e568fc6ee9f78d87c75e8e7c1dee630a5;hpb=2db415932b071525adb52c6374e021174512a924;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/model/WorkspaceElem.java b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/model/WorkspaceElem.java index 3be73b5e5..4c78511bc 100644 --- a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/model/WorkspaceElem.java +++ b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/model/WorkspaceElem.java @@ -10,10 +10,10 @@ import javax.jcr.query.qom.QueryObjectModel; import javax.jcr.query.qom.QueryObjectModelFactory; import javax.jcr.query.qom.Selector; -import org.argeo.ArgeoException; import org.argeo.jcr.JcrUtils; -import org.argeo.slc.jcr.SlcNames; -import org.argeo.slc.jcr.SlcTypes; +import org.argeo.slc.SlcException; +import org.argeo.slc.SlcNames; +import org.argeo.slc.SlcTypes; /** Abstract a workspace that contains a software distribution */ public class WorkspaceElem extends DistParentElem { @@ -60,7 +60,7 @@ public class WorkspaceElem extends DistParentElem { else return true; } catch (RepositoryException re) { - throw new ArgeoException( + throw new SlcException( "Unexpected error while checking children node existence", re); } @@ -140,7 +140,7 @@ public class WorkspaceElem extends DistParentElem { } return super.getChildren(); } catch (RepositoryException e) { - throw new ArgeoException( + throw new SlcException( "Cannot initialize WorkspaceNode UI object." + getName(), e); }