view Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 55:f45b8551e79e

Final upload
author Steven Hollidge <stevenhollidge@hotmail.com>
date Thu, 19 Apr 2012 13:50:53 +0100
parents c812bca7b1ac
children
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Stocks.Common.Exceptions
{
  [Serializable]
  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;
    }
  }
}