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

Draft: Add actions related to exception handling #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JCWasmx86
Copy link
Contributor

@JCWasmx86 JCWasmx86 commented Jun 29, 2022

  • AddThrowsDeclaration to add an error to the declaration of a method/constructor
  • AddTryCatch around statements
  • AddTryCatch around variable declarations

Draft, as foreach breaks horribly as the code seems to be transformed already, and the code for adding to the throws-list is not the most robust one, but I opened it now, not that somebody does the same work. (BTW, we should somehow coordinate in regards to codeactions)

- AddThrowsDeclaration to add an error to the declaration of a method/constructor
- AddTryCatch around statements
- AddTryCatch around variable declarations
@JCWasmx86 JCWasmx86 marked this pull request as ready for review July 18, 2022 18:45
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.

None yet

1 participant