jira-integration: Replace printStackTrace by throw RuntimeException
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
parent
25d508ef46
commit
55b5bedf81
3 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue