1.1 --- a/soa.ui/src/org/netbeans/modules/soa/ui/SoaUiUtil.java Tue Oct 30 02:00:03 2007 +0000
1.2 +++ b/soa.ui/src/org/netbeans/modules/soa/ui/SoaUiUtil.java Tue Oct 30 08:16:59 2007 +0000
1.3 @@ -50,6 +50,7 @@
1.4 import java.util.Collection;
1.5 import javax.swing.RootPaneContainer;
1.6 import org.openide.filesystems.FileObject;
1.7 +import org.openide.ErrorManager;
1.8 import org.openide.awt.UndoRedo;
1.9 import org.netbeans.modules.soa.ui.form.InitialFocusProvider;
1.10 import org.openide.cookies.SaveCookie;
1.11 @@ -299,7 +300,9 @@
1.12 try {
1.13 document.insertString(19, " encoding=\"" + encoding + "\"", null);
1.14 }
1.15 - catch (BadLocationException e) {}
1.16 + catch (BadLocationException e) {
1.17 + ErrorManager.getDefault().notify(e);
1.18 + }
1.19
1.20 SaveCookie save = data.getCookie(SaveCookie.class);
1.21