0
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5
|
|
6 namespace Stocks.Common.Exceptions
|
|
7 {
|
|
8 public class InvalidWebPriceDataException : Exception
|
|
9 {
|
|
10 public string WebPriceData { get; set; }
|
|
11 public InvalidWebPriceDataException() : base ()
|
|
12 {
|
|
13
|
|
14 }
|
|
15 public InvalidWebPriceDataException(string webPriceData) : base(webPriceData)
|
|
16 {
|
|
17 WebPriceData = webPriceData;
|
|
18 }
|
|
19
|
|
20 public InvalidWebPriceDataException(string webPriceData, Exception innerException)
|
|
21 : base("Unexpected web price data", innerException)
|
|
22 {
|
|
23 WebPriceData = webPriceData;
|
|
24 }
|
|
25 }
|
|
26 }
|