CS.EMPTY.CATCHNothing is written in a catch block. If you catch an exception, it is better to process it than ignore it. Example 11 class FileHandler { 2 public void Open(String name) { 3 try { 4 // opening file ... 5 } catch (FileNotFoundException e) { // defect - no statements in the 'catch' clause 6 } 7 } 8 } Security Guidelines |