Example #1
0
 /// <summary>
 /// Log a warning that conversion of a value to a decimal failed due to an overflow error and that a
 /// default value will be returned.
 /// </summary>
 /// <param name="value">The value that could not be converted.</param>
 /// <param name="defaultValue">The default value.</param>
 /// <param name="ovrEx">The overflow exception.</param>
 public void WriteConversionToDecimalFailedWarning(string value, decimal defaultValue, OverflowException ovrEx)
 {
     this.LogWarningMessage(string.Format(MessageStrings.ConversionToDecimalFailedOverflow, value, defaultValue, ovrEx.WithInnerExceptions()));
 }