import javax.jcr.RepositoryException;
import javax.jcr.Value;
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
import org.argeo.eclipse.ui.workbench.WorkbenchUiPlugin;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.IStructuredContentProvider;
return node.getProperty("rep:principalName")
.getString();
} catch (RepositoryException e) {
- throw new ArgeoException("Unable to retrieve "
+ throw new EclipseUiException("Unable to retrieve "
+ "principal name on " + node, e);
}
return "";
}
} catch (RepositoryException e) {
- throw new ArgeoException("Unable to retrieve "
+ throw new EclipseUiException("Unable to retrieve "
+ "privileges on " + node, e);
}
return "";
try {
return node.getParent().getParent().getPath();
} catch (RepositoryException e) {
- throw new ArgeoException("Unable get path for " + node, e);
+ throw new EclipseUiException("Unable get path for " + node, e);
}
}
return privs.toArray();
} catch (Exception e) {
- throw new ArgeoException("Cannot retrieve authorization for "
+ throw new EclipseUiException("Cannot retrieve authorization for "
+ context, e);
}
}
String cname = context.getSession().getClass().getName();
return cname.startsWith("org.apache.jackrabbit");
} catch (RepositoryException e) {
- throw new ArgeoException("Cannot check JCR implementation used on "
+ throw new EclipseUiException("Cannot check JCR implementation used on "
+ context, e);
}
}