comparison MetroWpf/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 20:6109bc268b90

Latest
author adminsh@apollo
date Tue, 20 Mar 2012 13:37:46 +0000
parents
children a8b50a087544
comparison
equal deleted inserted replaced
19:09d18d6e5f40 20:6109bc268b90
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Stocks.Common.Exceptions
7 {
8 [Serializable]
9 public class InvalidWebPriceDataException : Exception
10 {
11 public string WebPriceData { get; set; }
12 public InvalidWebPriceDataException() : base ()
13 {
14
15 }
16 public InvalidWebPriceDataException(string webPriceData) : base(webPriceData)
17 {
18 WebPriceData = webPriceData;
19 }
20
21 public InvalidWebPriceDataException(string webPriceData, Exception innerException)
22 : base("Unexpected web price data", innerException)
23 {
24 WebPriceData = webPriceData;
25 }
26 }
27 }