Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui.workbench / src / org / argeo / eclipse / ui / workbench / internal / jcr / model / SingleJcrNodeElem.java
index dfc0b3d29b0c8454cc822681e832639ae6bca32f..b69a4803af4d12279acb7a668e7644980ee40c28 100644 (file)
@@ -20,7 +20,7 @@ import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
 import javax.jcr.Workspace;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 import org.argeo.eclipse.ui.TreeParent;
 
 /**
@@ -84,7 +84,7 @@ public class SingleJcrNodeElem extends TreeParent {
                                }
                                return super.getChildren();
                        } catch (RepositoryException re) {
-                               throw new ArgeoException(
+                               throw new EclipseUiException(
                                                "Unexcpected error while initializing children SingleJcrNode",
                                                re);
                        }
@@ -99,7 +99,7 @@ public class SingleJcrNodeElem extends TreeParent {
                        else
                                return false;
                } catch (RepositoryException re) {
-                       throw new ArgeoException(
+                       throw new EclipseUiException(
                                        "Unexpected error while checking children node existence",
                                        re);
                }