Adapted checkstyle rule to allow empty blocks as this is required for ignored exceptions.