Move 'snippet' queries to 'snippets' folders

This commit is contained in:
Arthur Baars
2019-07-25 15:38:25 +02:00
parent 30860daac4
commit bdce7d07c1
151 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/**
* @name Handle exception of given class
* @description Finds places where we handle MyExceptionClass exceptions
* @tags catch
* try
* exception
*/
import python
from ExceptStmt ex, ClassObject cls
where
cls.getName() = "MyExceptionClass" and
ex.getType().refersTo(cls)
select ex