CodeQL library for Java/Kotlin
codeql/java-all 0.9.2-dev (changelog, source)
Search

Member predicate ThrowStmt::getLexicalCatchIfAny

Gets the catch clause that catches the exception thrown by this throw statement and occurs in the same method as this throw statement, provided such a catch exists.

CatchClause getLexicalCatchIfAny()