Mercurial > silverbladetech
annotate Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 39:4b8b38d17d24 MetroWPF CTP v0.1
Quick tidy up for ctp 0.1 release
author | adminsh@apollo |
---|---|
date | Tue, 03 Apr 2012 15:33:18 +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 } |