-
-
Notifications
You must be signed in to change notification settings - Fork 773
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
ThrowingExceptionsWithoutMessageOrCause false positive #7448
Comments
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
The problem still exists |
Can we remove |
I think that this Rule is wrong. We shouldn't fail when an exception without message nor cause is throwed. We should fail when an exception without message nor cause is created. |
Ok, this rule doesn't care about |
Expected Behavior
The following code should work fine and don't violate ThrowingExceptionsWithoutMessageOrCause since we already have a message for an exception
Observed Behavior
Throws ThrowingExceptionsWithoutMessageOrCause
Even the following code violates the rule
For some reason it reacts on method invocation
.exception()
Steps to Reproduce
Context
I'm using jooq Loader API
https://www.jooq.org/doc/latest/manual/sql-execution/importing/importing-api/
Your Environment
--scan
option when running the gradle task):The text was updated successfully, but these errors were encountered: