Skip to content

Proposal for better Exceptions #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2015
Merged

Proposal for better Exceptions #40

merged 1 commit into from
Feb 1, 2015

Conversation

msjyoo
Copy link
Contributor

@msjyoo msjyoo commented Feb 1, 2015

Proposal for better exceptions.

The new exception system will allow extending and derivative software to easily build cases on different exceptions without having to parse the string output of an exceptions.

This change is backwards compatible: applications can still catch for the SourceQueryException, however they can also choose to be more specific and catch specific exceptions instead.

Not that the SourceQueryException has been turned into an abstract class so it cannot be used directly.

@xPaw
Copy link
Owner

xPaw commented Feb 1, 2015

Looks fine to me. However your previous pull request already added .gitignore so it conflicts. Could you rebase it?

@msjyoo
Copy link
Contributor Author

msjyoo commented Feb 1, 2015

Will do!

@msjyoo
Copy link
Contributor Author

msjyoo commented Feb 1, 2015

@xPaw Conflict solved!

@xPaw
Copy link
Owner

xPaw commented Feb 1, 2015

Hmm, your commit adds same stuff that appeared in previous commits; could you please do a clean force push, so that it doesn't mess with the history?

@msjyoo
Copy link
Contributor Author

msjyoo commented Feb 1, 2015

@xPaw What do you mean? I merged my branch with your upstream/master so the only changes now should be the actual exception changes?

@xPaw
Copy link
Owner

xPaw commented Feb 1, 2015

You did merge it, but that created an additional commit with same changes that are already in master branch.

This should help: https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request

@msjyoo
Copy link
Contributor Author

msjyoo commented Feb 1, 2015

Fixed

@xPaw
Copy link
Owner

xPaw commented Feb 1, 2015

Thanks!

xPaw added a commit that referenced this pull request Feb 1, 2015
@xPaw xPaw merged commit 132186d into xPaw:master Feb 1, 2015
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.

2 participants