Mercurial > silverbladetech
annotate Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 6:c812bca7b1ac
"Restore packages on build" enabled by Nuget 1.6
General refactoring based on code analysis
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Tue, 21 Feb 2012 01:00:34 +0700 |
parents | e5d46bb6cdb0 |
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 } |