import csharp from ObjectCreation new where new.getObjectType().hasQualifiedName("System.Exception") select new
Finds places where we throw 'System.IO.IOException' or one of its subtypes.