We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MethodReturnCheck(RV_EXCEPTION_NOT_THROWN) detects not-thrown exceptions created by calling a constructor directly.
It would be helpful to detect not-thrown exceptions returned by a factory method in addition.
// is detected new IllegalArgumentException("x must be nonnegative");
// should be detected MyException.someLogicWentWrong("value1", "value2");
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! 😃 Please check our contributing guideline. Especially when you report a problem, make sure you share a Minimal, Complete, and Verifiable example to reproduce it in this issue.
Sorry, something went wrong.
This is the same kind of feature request as #2449 and would be useful indeed
Successfully merging a pull request may close this issue.
MethodReturnCheck(RV_EXCEPTION_NOT_THROWN) detects not-thrown exceptions created by calling a constructor directly.
It would be helpful to detect not-thrown exceptions returned by a factory method in addition.
The text was updated successfully, but these errors were encountered: