예제 #1
0
 public string GetTheTableDiffExceptionMessage(TableDifferenceResults <T> tableDifferenceResults)
 {
     try
     {
         return(tableDiffExceptionBuilder.GetTheTableDiffExceptionMessage(tableDifferenceResults));
     }
     catch
     {
         return("The table and the set not match.");
     }
 }
예제 #2
0
        private void ThrowAnErrorDetailingWhichItemsAreMissing(IEnumerable <int> listOfMissingItems)
        {
            var message = tableDiffExceptionBuilder.GetTheTableDiffExceptionMessage(new TableDifferenceResults <T>(table, listOfMissingItems, actualItems));

            throw new ComparisonException("\r\n" + message);
        }