Skip to content

Convert to runtime exceptions - #20

Closed
klyall wants to merge 3 commits into
jenkinsci:masterfrom
klyall:convert-to-runtime-exceptions
Closed

Convert to runtime exceptions#20
klyall wants to merge 3 commits into
jenkinsci:masterfrom
klyall:convert-to-runtime-exceptions

Conversation

@klyall

@klyall klyall commented Feb 28, 2014

Copy link
Copy Markdown
Contributor

Convert checked exceptions to runtime exceptions to remove need for boiler plate code.

Also consistently return a JobNotFoundException for Gets and Updates.

Finally fix bug where connection not being closed.

…. Also allow DefaultHttpClient to be provided to allow it to be configured and prevent an error when doing mulitple calls.
…. Also allow DefaultHttpClient to be provided to allow it to be configured and prevent an error when doing mulitple calls.
…oiler plate code. Also consistently return a JobNotFoundException for Gets and Updates. Finally fix bug where conenction not being closed.
@activey

activey commented May 2, 2014

Copy link
Copy Markdown
Contributor

Pull it please ;)

@cosmin

cosmin commented May 7, 2014

Copy link
Copy Markdown
Contributor

I'm not sure that removing checked exceptions is the way to go. More importantly however, the current pull request does not merge cleanly on top of the current master.

@cosmin cosmin closed this Jul 29, 2014
lilirui520 added a commit to lilirui520/java-client-api that referenced this pull request Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants