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