Mercurial > silverbladetech
annotate Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 114:e51a6af1c98d
working version
author | adminsh@apollo |
---|---|
date | Sat, 19 May 2012 16:53:34 +0100 |
parents | c812bca7b1ac |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 | |
6 namespace Stocks.Common.Exceptions | |
7 { | |
6
c812bca7b1ac
"Restore packages on build" enabled by Nuget 1.6
stevenh7776 stevenhollidge@hotmail.com
parents:
0
diff
changeset
|
8 [Serializable] |
0 | 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 } |