diff options
author | Shawn F. Cook | 2011-08-08 20:41:21 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-08-08 20:41:21 +0000 |
commit | 0276a25446344462b279c122f44d4e020cb61780 (patch) | |
tree | 516043a39b1bdd4b0c4249eb2317c8f55e38e9ec /plugins/org.eclipse.osee.framework.ui.skynet | |
parent | f5b92c1a4b7e2b15175187dbc8f98a4dc10c7124 (diff) | |
download | org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.tar.gz org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.tar.xz org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.zip |
refactor[bgz_354193]: Remove unused exception declarations
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet')
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java index 2bc8d28f6e6..8aaa1732525 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java @@ -13,7 +13,6 @@ package org.eclipse.osee.framework.ui.skynet.blam; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.jobs.IJobChangeEvent; import org.eclipse.core.runtime.jobs.JobChangeAdapter; -import org.eclipse.osee.framework.core.exception.OseeArgumentException; import org.eclipse.osee.framework.jdk.core.util.Lib; import org.eclipse.osee.framework.logging.OseeLevel; import org.eclipse.osee.framework.logging.OseeLog; @@ -86,11 +85,11 @@ public class BlamEditor extends FormEditor implements IDirtiableEditor { return super.getAdapter(adapter); } - private VariableMap getBlamVariableMap() throws OseeArgumentException { + private VariableMap getBlamVariableMap() { return overviewPage.getInput(); } - public void executeBlam() throws OseeArgumentException { + public void executeBlam() { getEditorInput().getBlamOperation().execute(overviewPage.getReporter(), getBlamVariableMap(), new BlamEditorExecutionAdapter()); } diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java index c55873b1d81..1eb0ae67867 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java @@ -38,7 +38,7 @@ public abstract class DynamicBlamOperation { operationFactory.createInstallOperation(site.getCurrentConfiguredSite(), feature, null, null, null); } - public void init() throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, OseeArgumentException { + public void init() throws IllegalArgumentException, NoSuchMethodException, OseeArgumentException { mainMethod = findMainMethod(getMainMethodName()); String[] parameterNames = getParameterNames(); @@ -59,7 +59,7 @@ public abstract class DynamicBlamOperation { mainMethod.invoke(this, actualParameters); } - private Method findMainMethod(String mainMethodName) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { + private Method findMainMethod(String mainMethodName) throws IllegalArgumentException, NoSuchMethodException { Class<? extends DynamicBlamOperation> classRep = getClass(); Method[] methods = classRep.getDeclaredMethods(); // get only the methods declared directly in the given class |