Index: frysk-gui/frysk/gui/srcwin/SourceView.java =================================================================== RCS file: /cvs/frysk/frysk-gui/frysk/gui/srcwin/SourceView.java,v retrieving revision 1.64 diff -u -r1.64 SourceView.java --- frysk-gui/frysk/gui/srcwin/SourceView.java 30 Aug 2007 19:28:23 -0000 1.64 +++ frysk-gui/frysk/gui/srcwin/SourceView.java 13 Oct 2007 18:15:15 -0000 @@ -1,6 +1,6 @@ // This file is part of the program FRYSK. // -// Copyright 2005, Red Hat Inc. +// Copyright 2005, 2007 Red Hat Inc. // // FRYSK is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by @@ -43,8 +43,6 @@ import java.util.HashMap; import java.util.List; -import javax.naming.NameNotFoundException; - import org.gnu.gdk.Color; import org.gnu.gdk.Cursor; import org.gnu.gdk.CursorType; @@ -894,8 +892,6 @@ } catch (ParseException e) { System.out.println(e.getMessage()); - } catch (NameNotFoundException n) { - System.err.println(n.getMessage()); } valueItem = new MenuItem("Value of " + varText + ": " Index: frysk-gui/frysk/gui/srcwin/SourceBuffer.java =================================================================== RCS file: /cvs/frysk/frysk-gui/frysk/gui/srcwin/SourceBuffer.java,v retrieving revision 1.139 diff -u -r1.139 SourceBuffer.java --- frysk-gui/frysk/gui/srcwin/SourceBuffer.java 30 Aug 2007 19:28:23 -0000 1.139 +++ frysk-gui/frysk/gui/srcwin/SourceBuffer.java 13 Oct 2007 18:15:15 -0000 @@ -49,8 +49,6 @@ import java.util.LinkedList; import java.util.List; -import javax.naming.NameNotFoundException; - import lib.opcodes.Disassembler; import lib.opcodes.Instruction; @@ -651,9 +649,6 @@ } catch (ParseException e) { System.out.println(e.getMessage()); return null; - } catch (NameNotFoundException n) { - System.err.println(n.getMessage()); - return null; } return getWordAtIter(iter); @@ -682,9 +677,6 @@ } catch (ParseException e) { System.out.println(e.getMessage()); return null; - } catch (NameNotFoundException n) { - // n.printStackTrace(); - return null; } return var; Index: frysk-gui/frysk/gui/srcwin/InlineSourceView.java =================================================================== RCS file: /cvs/frysk/frysk-gui/frysk/gui/srcwin/InlineSourceView.java,v retrieving revision 1.21 diff -u -r1.21 InlineSourceView.java --- frysk-gui/frysk/gui/srcwin/InlineSourceView.java 30 Aug 2007 19:28:23 -0000 1.21 +++ frysk-gui/frysk/gui/srcwin/InlineSourceView.java 13 Oct 2007 18:15:15 -0000 @@ -1,6 +1,6 @@ // This file is part of the program FRYSK. // -// Copyright 2005, Red Hat Inc. +// Copyright 2005, 2007 Red Hat Inc. // // FRYSK is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by @@ -40,8 +40,6 @@ import java.text.ParseException; -import javax.naming.NameNotFoundException; - import org.gnu.gdk.GC; import org.gnu.gdk.Point; import org.gnu.gdk.Window; @@ -259,8 +257,6 @@ } catch (ParseException e) { System.out.println(e.getMessage()); - } catch (NameNotFoundException n) { - System.err.println(n.getMessage()); } valueItem = new MenuItem("Value: " + var.toPrint(), true); valueItem.setSensitive(false); Index: frysk-gui/frysk/gui/srcwin/InlineBuffer.java =================================================================== RCS file: /cvs/frysk/frysk-gui/frysk/gui/srcwin/InlineBuffer.java,v retrieving revision 1.52 diff -u -r1.52 InlineBuffer.java --- frysk-gui/frysk/gui/srcwin/InlineBuffer.java 30 Aug 2007 19:28:23 -0000 1.52 +++ frysk-gui/frysk/gui/srcwin/InlineBuffer.java 13 Oct 2007 18:15:15 -0000 @@ -1,6 +1,6 @@ // This file is part of the program FRYSK. // -// Copyright 2005, Red Hat Inc. +// Copyright 2005, 2007 Red Hat Inc. // // FRYSK is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by @@ -43,8 +43,6 @@ import java.text.ParseException; import java.util.Iterator; -import javax.naming.NameNotFoundException; - import org.gnu.gtk.TextChildAnchor; import org.gnu.gtk.TextIter; import org.jdom.Element; @@ -225,10 +223,6 @@ { return null; } - catch (NameNotFoundException n) - { - return null; - } return getWordAtIter(iter); }