Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / src / org / argeo / security / ui / admin / internal / PartStateChanged.java
index 1a5f375d0920034c4d547d9cd16d11359915e995..aacf6ef63c3d4a40a23437ce0666e65fe1f2f29d 100644 (file)
@@ -1,6 +1,6 @@
 package org.argeo.security.ui.admin.internal;
 
-import org.argeo.ArgeoException;
+import org.argeo.cms.CmsException;
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.ui.IPartListener;
 import org.eclipse.ui.IStartup;
@@ -23,7 +23,7 @@ public class PartStateChanged implements IPartListener, IStartup {
                                        if (iwp != null)
                                                iwp.addPartListener(new PartStateChanged());
                                } catch (Exception e) {
-                                       throw new ArgeoException(
+                                       throw new CmsException(
                                                        "Error while registering the PartStateChangedListener",
                                                        e);
                                }