Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / src / org / argeo / security / ui / admin / internal / parts / UserEditor.java
index 715d343105f302c580b0d6e26f98176775aaf85a..0fae9f49afa6184b423a0fa209b211bc619faccf 100644 (file)
@@ -18,7 +18,7 @@ package org.argeo.security.ui.admin.internal.parts;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.argeo.ArgeoException;
+import org.argeo.cms.CmsException;
 import org.argeo.cms.util.useradmin.UserAdminUtils;
 import org.argeo.osgi.useradmin.LdifName;
 import org.argeo.security.ui.admin.SecurityAdminPlugin;
@@ -113,7 +113,7 @@ public class UserEditor extends FormEditor {
                        else
                                addPage(new UserMainPage(this, userAdminWrapper));
                } catch (Exception e) {
-                       throw new ArgeoException("Cannot add pages", e);
+                       throw new CmsException("Cannot add pages", e);
                }
        }