]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/model/WorkspaceElem.java
Add doAs in RCP CmsView.
[gpl/argeo-slc.git] / org.argeo.slc.client.ui.dist / src / org / argeo / slc / client / ui / dist / model / WorkspaceElem.java
index 3be73b5e568fc6ee9f78d87c75e8e7c1dee630a5..4c78511bc5fc314f08981d1b677d4c40b3b2785a 100644 (file)
@@ -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);
                        }