Mercurial > silverbladetech
diff MetroWpf/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 20:6109bc268b90
Latest
author | adminsh@apollo |
---|---|
date | Tue, 20 Mar 2012 13:37:46 +0000 |
parents | |
children | a8b50a087544 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MetroWpf/Stocks.Common/Exceptions/InvalidWebPriceData.cs Tue Mar 20 13:37:46 2012 +0000 @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +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; + } + } +}