X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.eclipse.ui%2Fsrc%2Forg%2Fargeo%2Feclipse%2Fui%2Fdialogs%2FNonModalErrorFeedback.java;h=513a24838fa7523bf4b4fecb402208c820e681d8;hb=088c1b517a543e935d8ab65c3b2fd2d0269b551d;hp=69d69f90c13dd0f06ec1febce481bde75baf9b2e;hpb=4ecf9b27a0f09ce464969df57c6a6f8487ef7733;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/dialogs/NonModalErrorFeedback.java b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/dialogs/NonModalErrorFeedback.java index 69d69f90c..513a24838 100644 --- a/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/dialogs/NonModalErrorFeedback.java +++ b/org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/dialogs/NonModalErrorFeedback.java @@ -20,7 +20,7 @@ import java.io.StringWriter; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.argeo.ArgeoException; +import org.argeo.eclipse.ui.EclipseUiException; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ShellAdapter; import org.eclipse.swt.events.ShellEvent; @@ -81,7 +81,7 @@ class NonModalErrorFeedback { public void open() { if (shell != null) - throw new ArgeoException("There is already a shell"); + throw new EclipseUiException("There is already a shell"); shell = new Shell(getDisplay(), SWT.NO_TRIM | SWT.BORDER | SWT.ON_TOP); shell.setLayout(new GridLayout()); // shell.setText("Error");