Skip to content
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

Stacktrace recovery improvements and documentation #967

Merged
merged 7 commits into from
Feb 20, 2019

Conversation

qwwdfsad
Copy link
Collaborator

@qwwdfsad qwwdfsad commented Feb 4, 2019

Fixes #917, #921, #859 and #948

  * Introduce CopyableThrowable to provide a mechanism for flexible exception cloning
  * Do not reflectively clone exceptions with additional non-static fields
Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, some comments about the docs.

docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
docs/debugging.md Outdated Show resolved Hide resolved
The code is also refactored a bit to avoid repetition and long lines

Fixes #987
@elizarov
Copy link
Contributor

I've also added a fix for #987 to this branch. The problem was not with the default, though, but with the fact that constructor with string message was not used when trying to copy exception, but should have been.

@qwwdfsad qwwdfsad merged commit 3f65e17 into develop Feb 20, 2019
@qwwdfsad qwwdfsad deleted the stacktrace-recovery-improvements branch February 20, 2019 08:46
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