Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / util / SystemNotifications.java
index 9d0c638450726bdc38ce4443f602019f5d2e5694..54e8eb544755b8262e22d2f2a9f3dc70d505ceec 100644 (file)
@@ -8,7 +8,7 @@ import java.text.SimpleDateFormat;
 import java.util.Date;
 
 import org.apache.commons.io.IOUtils;
-import org.argeo.ArgeoException;
+import org.argeo.cms.CmsException;
 import org.argeo.cms.CmsStyles;
 import org.eclipse.rap.rwt.RWT;
 import org.eclipse.swt.SWT;
@@ -59,7 +59,7 @@ public class SystemNotifications extends Shell implements CmsStyles,
 
                Label lbl = new Label(pane, SWT.NONE);
                lbl.setText(exception.getLocalizedMessage()
-                               + (exception instanceof ArgeoException ? "" : "("
+                               + (exception instanceof CmsException ? "" : "("
                                                + exception.getClass().getName() + ")") + "\n");
                lbl.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
                lbl.addMouseListener(this);