private void reportErrors(FileExportUpdateParams param,ExportOperationType type) throws Exception {
  _log.info("Working on reporting errors found if any");
switch (type) {
case ADD:
{
      reportAddErrors(param);
      break;
    }
case MODIFY:
{
    reportModifyErrors(param);
    break;
  }
case DELETE:
{
  reportDeleteErrors(param);
  break;
}
}
}

private void reportErrors ( FileExportUpdateParams param , ExportOperationType type ) throws Exception { _log . info ( "Working on reporting errors found if any" ) ; switch ( type ) { case ADD : { reportAddErrors ( param ) ; break ; } case MODIFY : { reportModifyErrors ( param ) ; break ; } case DELETE : { reportDeleteErrors ( param ) ; break ; } } }
fail the request and report errors accordingly
