Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / jcr / NodesWrapper.java
index dcd3b42f692b64a3f2ed7be54c824edb15c9e368..d899b00ce3d1bca928292ee7ae624322743adcf3 100644 (file)
@@ -22,7 +22,7 @@ import javax.jcr.Node;
 import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 
 /**
  * Element of tree which is based on a node, but whose children are not
@@ -51,7 +51,7 @@ public class NodesWrapper {
                try {
                        return getWrappedNodes().toArray();
                } catch (RepositoryException e) {
-                       throw new ArgeoException("Cannot get wrapped children", e);
+                       throw new EclipseUiException("Cannot get wrapped children", e);
                }
        }