Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-09-17 16:51:15 -0400
committerRyan D. Brooks2010-09-17 16:51:15 -0400
commit445b78e7fdb5067609dd91f8b348ea91313ecedc (patch)
treee3977a856514339190f8384ea849a37d567e635c /plugins
parent9f3a5a2a4e62adf2155550fc5e8feca678db4f45 (diff)
downloadorg.eclipse.osee-445b78e7fdb5067609dd91f8b348ea91313ecedc.tar.gz
org.eclipse.osee-445b78e7fdb5067609dd91f8b348ea91313ecedc.tar.xz
org.eclipse.osee-445b78e7fdb5067609dd91f8b348ea91313ecedc.zip
refactor: Remove unnecessary exception wrapping
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.branch.management/src/org/eclipse/osee/framework/branch/management/exchange/export/DbTableExportItem.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/util/HttpProcessor.java2
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.branch.management/src/org/eclipse/osee/framework/branch/management/exchange/export/DbTableExportItem.java b/plugins/org.eclipse.osee.framework.branch.management/src/org/eclipse/osee/framework/branch/management/exchange/export/DbTableExportItem.java
index 91fea17e87..f0079829f8 100644
--- a/plugins/org.eclipse.osee.framework.branch.management/src/org/eclipse/osee/framework/branch/management/exchange/export/DbTableExportItem.java
+++ b/plugins/org.eclipse.osee.framework.branch.management/src/org/eclipse/osee/framework/branch/management/exchange/export/DbTableExportItem.java
@@ -72,8 +72,6 @@ public class DbTableExportItem extends AbstractDbExportItem {
sourceStream = resource.getContent();
outputStream = new FileOutputStream(target);
Lib.inputStreamToOutputStream(sourceStream, outputStream);
- } catch (Exception ex) {
- throw new Exception(String.format("Error processing: [%s]", locator.getRawPath()), ex);
} finally {
if (sourceStream != null) {
try {
diff --git a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/util/HttpProcessor.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/util/HttpProcessor.java
index bbcec30f9d..52ad340b09 100644
--- a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/util/HttpProcessor.java
+++ b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/util/HttpProcessor.java
@@ -242,8 +242,6 @@ public class HttpProcessor {
responseInputStream = method.getResponseBodyAsStream();
response = Lib.inputStreamToString(responseInputStream);
}
- } catch (Exception ex) {
- throw new Exception(String.format("Error during POST [%s] - status code: [%s]", url, statusCode), ex);
} finally {
try {
if (responseInputStream != null) {

Back to the top