GitHub user thammegowda opened a pull request:

    https://github.com/apache/incubator-joshua/pull/13

    JOSHUA-264 System.exit() calls are replaced by throw new RuntimeException()

    This PR replaces system exit calls with runtime exception
    + The error messages are preserved by passing them as message argument
    + the redundant catch blocks are replaced with compact catch blocks
    + The cause for exceptions are propagated to RuntimeException's cause where 
applicable
    
    Note : 
    + Some exit calls from main function are left untouched since they are most 
likely be invoked from CLI 


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thammegowda/incubator-joshua JOSHUA-264

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-joshua/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit 9848541f6cf52e7d316d1bacc565004c1bbc3128
Author: Thamme Gowda <[email protected]>
Date:   2016-05-16T21:33:29Z

    System.exit() removed and replaced with RuntimeException(...)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to