20
|
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 }
|