import javax.jcr.NodeIterator;
import javax.jcr.RepositoryException;
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
import org.argeo.eclipse.ui.jcr.utils.JcrItemsComparator;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
return result.toArray();
} catch (RepositoryException re) {
- throw new ArgeoException(
+ throw new EclipseUiException(
"Unexpected error while getting child nodes for children editor page ",
re);
}
try {
return ((Node) element).hasNodes();
} catch (RepositoryException e) {
- throw new ArgeoException("Cannot check children of " + element, e);
+ throw new EclipseUiException("Cannot check children of " + element, e);
}
}
Arrays.sort(arr, itemComparator);
return arr;
} catch (RepositoryException e) {
- throw new ArgeoException("Cannot list children of " + parentNode, e);
+ throw new EclipseUiException("Cannot list children of " + parentNode, e);
}
}
}