Update FindIncorrectlyUsedExceptions.ql

This commit is contained in:
ihsinme
2021-11-19 10:54:02 +03:00
committed by GitHub
parent 5709365c0f
commit fd73f4094f

View File

@@ -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