From: jprocter Date: Fri, 7 Dec 2012 14:18:55 +0000 (+0000) Subject: Exception signature change (will be overwritten by commit 2a7ae5) X-Git-Tag: Jalview_2_9~221^2^2~8^2~35 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ffa3ea1a2a3e3b0fd8da65fdb619ac2815fe5af7;p=jalview.git Exception signature change (will be overwritten by commit 2a7ae5) --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index aa50dcb..f19a2c0 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -1062,30 +1062,38 @@ public class PopupMenu extends JPopupMenu { try { pdbFromFile_actionPerformed(); - } catch (ExceptionFileFormatOrSyntax e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ParserConfigurationException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (SAXException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionPermissionDenied e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionLoadingFailed e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (InterruptedException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionUnmatchedClosingParentheses e1) { + } catch (Exception e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }); +// RNAFold.setText("From RNA Fold with predict2D"); +// RNAFold.addActionListener(new ActionListener() +// { +// public void actionPerformed(ActionEvent e) +// { +// try { +// RNAFold_actionPerformed(); +// } catch (Exception e1) { +// // TODO Auto-generated catch block +// e1.printStackTrace(); +// } +// } +// }); +// ContraFold.setText("From Contra Fold with predict2D"); +// ContraFold.addActionListener(new ActionListener() +// { +// public void actionPerformed(ActionEvent e) +// { +// try { +// ContraFold_actionPerformed(); +// } catch (Exception e1) { +// // TODO Auto-generated catch block +// e1.printStackTrace(); +// } +// } +// }); enterPDB.setText("Enter PDB Id"); enterPDB.addActionListener(new ActionListener() { @@ -1970,7 +1978,7 @@ public class PopupMenu extends JPopupMenu oal = null; } - public void pdbFromFile_actionPerformed() throws IOException + public void pdbFromFile_actionPerformed() throws Exception { jalview.io.JalviewFileChooser chooser = new jalview.io.JalviewFileChooser( jalview.bin.Cache.getProperty("LAST_DIRECTORY"));