]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/lists/NodeViewerComparator.java
Prepare JCR decoupling.
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / jcr / lists / NodeViewerComparator.java
index 1fa46f0994f29d3aef5187574b9c1e4fafb8aeb7..341b3abee17a284d57ca81f6c21d1d22cc986c5f 100644 (file)
@@ -9,7 +9,7 @@ import javax.jcr.RepositoryException;
 import javax.jcr.Value;
 import javax.jcr.ValueFormatException;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 import org.eclipse.jface.viewers.Viewer;
 import org.eclipse.jface.viewers.ViewerComparator;
 
@@ -129,7 +129,7 @@ public class NodeViewerComparator extends ViewerComparator {
                                rc = d1.compareTo(d2);
                                break;
                        default:
-                               throw new ArgeoException(
+                               throw new EclipseUiException(
                                                "Unimplemented comparaison for PropertyType "
                                                                + propertyType);
                        }
@@ -139,7 +139,7 @@ public class NodeViewerComparator extends ViewerComparator {
                        }
 
                } catch (RepositoryException re) {
-                       throw new ArgeoException("Unexpected error "
+                       throw new EclipseUiException("Unexpected error "
                                        + "while comparing nodes", re);
                }
                return rc;
@@ -187,4 +187,4 @@ public class NodeViewerComparator extends ViewerComparator {
        protected void setDirection(int direction) {
                this.direction = direction;
        }
-}
\ No newline at end of file
+}