view 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 source

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;
    }
  }
}