I am reviewing some code.
I have notice some empty catch blocks. Not a good idea since somethings do not work and you cannot see why.
Is there an easy way to
Here is a regular expression that finds also catch blocks with only comments inside :
catch:b*\([^)]*\)[:b\n]*\{([:b\n]|(\/\*[^*]*\*\/)|(//[^\n]*))*\}