public function addFailedRecords(SS_List $records, $message)
    {
        foreach ($records as $record) {
            $this->failedRecords[] = array('id' => $record->ID, 'class' => $record->ClassName, 'message' => $message);
        }
        return $this;
    }
public function addFailedRecords(SS_List $records, $message)
    {
        foreach ($records as $record) {
            $this->failedRecords[] = array('id' => $record->ID, 'class' => $record->ClassName, 'message' => $message);
        }
        return $this;
    }
public function addFailedRecords ( SS_List $ records , $ message ) { foreach ( $ records as $ record ) { $ this -> failedRecords [ ] = array ( 'id' => $ record -> ID , 'class' => $ record -> ClassName , 'message' => $ message ) ; } return $ this ; }
Add a list of records to the failed to modified list with a common error message
@param SS_List $records  the failed dataObject list
@param string $message error message
@return $this
Add a list of records to the failed to modified list with a common error message