jira-integration: Replace printStackTrace by throw RuntimeException

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
Manuel Rego Casasnovas 2013-01-30 12:38:04 +01:00
parent 25d508ef46
commit 55b5bedf81
3 changed files with 6 additions and 6 deletions

View file

@ -1773,9 +1773,9 @@ public class OrderCRUDController extends GenericForwardComposer {
try {
jiraSyncInfoWindow.doModal();
} catch (SuspendNotAllowedException e) {
e.printStackTrace();
throw new RuntimeException(e);
} catch (InterruptedException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}

View file

@ -139,9 +139,9 @@ public class JiraOrderElementSynchronizerTest {
properties.getProperty("password"),
JiraRESTClient.PATH_SEARCH, LABEL);
} catch (FileNotFoundException e) {
e.printStackTrace();
throw new RuntimeException(e);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
return issues;
}

View file

@ -146,9 +146,9 @@ public class JiraTimesheetSynchronizerTest {
properties.getProperty("password"),
JiraRESTClient.PATH_SEARCH, LABEL);
} catch (FileNotFoundException e) {
e.printStackTrace();
throw new RuntimeException(e);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
return issues;
}