]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/lists/RowViewerComparator.java
Various small enhancements
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / jcr / lists / RowViewerComparator.java
index 509f723241d194c4186d60cf16ffd6bc9dc19ba0..ffd065599b50f1dcec692d602797db4630de6cb6 100644 (file)
@@ -4,7 +4,7 @@ import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 import javax.jcr.query.Row;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 import org.eclipse.jface.viewers.Viewer;
 
 /**
@@ -12,7 +12,7 @@ import org.eclipse.jface.viewers.Viewer;
  * rows
  */
 public class RowViewerComparator extends NodeViewerComparator {
-
+       private static final long serialVersionUID = 7020939505172625113L;
        protected String selectorName;
 
        public RowViewerComparator() {
@@ -33,7 +33,7 @@ public class RowViewerComparator extends NodeViewerComparator {
                        Node n2 = ((Row) e2).getNode(selectorName);
                        return super.compare(viewer, n1, n2);
                } catch (RepositoryException re) {
-                       throw new ArgeoException("Unexpected error "
+                       throw new EclipseUiException("Unexpected error "
                                        + "while comparing nodes", re);
                }
        }