mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update FindIncorrectlyUsedExceptions.ql
This commit is contained in:
@@ -44,5 +44,7 @@ where
|
||||
not fc instanceof ConstructorDirectInit and
|
||||
not fc.getEnclosingStmt() instanceof DeclStmt and
|
||||
not fc instanceof ConstructorDelegationInit and
|
||||
not fc.getParent() instanceof Initializer and
|
||||
not fc.getParent() instanceof AllocationExpr and
|
||||
msg = "This object does not generate an exception."
|
||||
select fc, msg
|
||||
|
||||
Reference in New Issue
Block a user