mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
14 lines
294 B
Plaintext
14 lines
294 B
Plaintext
/**
|
|
* @name Catch exception
|
|
* @description Finds places where we catch exceptions of type com.example.AnException
|
|
* @tags catch
|
|
* try
|
|
* exception
|
|
*/
|
|
|
|
import java
|
|
|
|
from CatchClause catch
|
|
where catch.getACaughtType().hasQualifiedName("com.example", "AnException")
|
|
select catch
|