diff Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 0:e5d46bb6cdb0

Initial commit
author adminSH stevenhollidge@hotmail.com
date Mon, 20 Feb 2012 13:52:35 +0700
parents
children c812bca7b1ac
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs	Mon Feb 20 13:52:35 2012 +0700
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Stocks.Common.Exceptions
+{
+  public class InvalidWebPriceDataException : Exception
+  {
+    public string WebPriceData { get; set; }
+    public InvalidWebPriceDataException() : base ()
+    {
+
+    }
+    public InvalidWebPriceDataException(string webPriceData) : base(webPriceData)
+    {
+      WebPriceData = webPriceData;
+    }
+
+    public InvalidWebPriceDataException(string webPriceData, Exception innerException)
+      : base("Unexpected web price data", innerException)
+    {
+      WebPriceData = webPriceData;
+    }
+  }
+}