Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui.workbench / src / org / argeo / eclipse / ui / workbench / internal / jcr / JcrBrowserUtils.java
index 4261d9f40cf438688c545366142d46bec05e0bd1..9e3e31878896a4b0650b89af21a59f7911bb1ffe 100644 (file)
@@ -18,7 +18,7 @@ package org.argeo.eclipse.ui.workbench.internal.jcr;
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 import org.argeo.eclipse.ui.TreeParent;
 import org.argeo.eclipse.ui.workbench.internal.jcr.model.RepositoriesElem;
 import org.argeo.eclipse.ui.workbench.internal.jcr.model.RepositoryElem;
@@ -69,7 +69,7 @@ public class JcrBrowserUtils {
                                element.getChildren();
                        }
                } catch (RepositoryException re) {
-                       throw new ArgeoException(
+                       throw new EclipseUiException(
                                        "Unexpected error while synchronising the UI with the JCR repository",
                                        re);
                }