CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds places where we handle MyExceptionClass exceptions

import python

from ExceptStmt ex, ClassValue cls
where 
    cls.getName() = "MyExceptionClass" and
    ex.getType().pointsTo(cls)
select ex