CodeQL library for Java
codeql/java-all 0.3.2 (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()