From 78711a3c9c38b4cd4ea1000f58caddae06f07acf Mon Sep 17 00:00:00 2001 From: David McKnight Date: Tue, 24 Oct 2006 15:22:38 +0000 Subject: [PATCH] fix Bug 161979. Alternative to suggested patch that compiles with both Eclipse 3.2 and Eclipse 3.3. --- .../org/eclipse/rse/files/ui/actions/SystemEditionAction.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/actions/SystemEditionAction.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/actions/SystemEditionAction.java index ba9e05e8cd3..9bc90612e8b 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/actions/SystemEditionAction.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/actions/SystemEditionAction.java @@ -314,6 +314,10 @@ public class SystemEditionAction extends SystemBaseAction { throw new InvocationTargetException(e); } + catch (Exception e) // TODO in Eclipse 3.3 this should be changed to IOException + { + throw new InvocationTargetException(e); + } } private IDocument getDocument(IFile file)