Mercurial > silverbladetech
view MetroWpf/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 54:cd9faa9f024b
Working with INotifyDataErrorInfo
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Thu, 19 Apr 2012 13:39:22 +0100 |
parents | a8b50a087544 |
children |
line wrap: on
line source
using System; using System.Collections.Generic; using System.Text; namespace Stocks.Common.Exceptions { [Serializable] public class InvalidWebPriceDataException : Exception { public string WebPriceData { get; set; } public InvalidWebPriceDataException() : base () { } public InvalidWebPriceDataException(string webPriceData) : base(webPriceData) { WebPriceData = webPriceData; } public InvalidWebPriceDataException(string webPriceData, Exception innerException) : base("Unexpected web price data", innerException) { WebPriceData = webPriceData; } } }