CS.EMPTY.CATCH

Nothing is written in a catch block. If you catch an exception, it is better to process it than ignore it.

Example 1

Copy
  class FileHandler {
      public void Open(String name) {
          try {
              // opening file ...
          } catch (FileNotFoundException e) {   // defect - no statements in the 'catch' clause
          }
      }
  }