]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/utils/DistNodeViewerComparator.java
Adapt refactoring (remove APIs from argeo.util)
[gpl/argeo-slc.git] / org.argeo.slc.client.ui.dist / src / org / argeo / slc / client / ui / dist / utils / DistNodeViewerComparator.java
index de22ac30249ae18e3714631e03a2905c2eeaa10c..2f0e3a03b023228fd007514a68bd973be61c0cfb 100644 (file)
@@ -27,8 +27,8 @@ import javax.jcr.ValueFormatException;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.argeo.ArgeoException;
 import org.argeo.eclipse.ui.GenericTableComparator;
+import org.argeo.slc.SlcException;
 import org.eclipse.jface.viewers.Viewer;
 
 /** Add ability to order by name version and version */
@@ -149,7 +149,7 @@ public class DistNodeViewerComparator extends GenericTableComparator {
                                rc = bd1.compareTo(bd2);
                                break;
                        default:
-                               throw new ArgeoException(
+                               throw new SlcException(
                                                "Unimplemented comparaison for PropertyType "
                                                                + propertyType);
                        }
@@ -160,7 +160,7 @@ public class DistNodeViewerComparator extends GenericTableComparator {
                        }
 
                } catch (RepositoryException re) {
-                       throw new ArgeoException("Unexpected error "
+                       throw new SlcException("Unexpected error "
                                        + "while comparing nodes", re);
                }
                return rc;