annotate MetroWpf/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 59:3591c26bd63e

MVVMLight added
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sat, 21 Apr 2012 19:20:28 +0100
parents a8b50a087544
children
rev   line source
20
adminsh@apollo
parents:
diff changeset
1 using System;
adminsh@apollo
parents:
diff changeset
2 using System.Collections.Generic;
adminsh@apollo
parents:
diff changeset
3 using System.Text;
adminsh@apollo
parents:
diff changeset
4
adminsh@apollo
parents:
diff changeset
5 namespace Stocks.Common.Exceptions
adminsh@apollo
parents:
diff changeset
6 {
adminsh@apollo
parents:
diff changeset
7 [Serializable]
adminsh@apollo
parents:
diff changeset
8 public class InvalidWebPriceDataException : Exception
adminsh@apollo
parents:
diff changeset
9 {
adminsh@apollo
parents:
diff changeset
10 public string WebPriceData { get; set; }
adminsh@apollo
parents:
diff changeset
11 public InvalidWebPriceDataException() : base ()
adminsh@apollo
parents:
diff changeset
12 {
adminsh@apollo
parents:
diff changeset
13
adminsh@apollo
parents:
diff changeset
14 }
adminsh@apollo
parents:
diff changeset
15 public InvalidWebPriceDataException(string webPriceData) : base(webPriceData)
adminsh@apollo
parents:
diff changeset
16 {
adminsh@apollo
parents:
diff changeset
17 WebPriceData = webPriceData;
adminsh@apollo
parents:
diff changeset
18 }
adminsh@apollo
parents:
diff changeset
19
adminsh@apollo
parents:
diff changeset
20 public InvalidWebPriceDataException(string webPriceData, Exception innerException)
adminsh@apollo
parents:
diff changeset
21 : base("Unexpected web price data", innerException)
adminsh@apollo
parents:
diff changeset
22 {
adminsh@apollo
parents:
diff changeset
23 WebPriceData = webPriceData;
adminsh@apollo
parents:
diff changeset
24 }
adminsh@apollo
parents:
diff changeset
25 }
adminsh@apollo
parents:
diff changeset
26 }