view Stocks/Stocks.Common/Exceptions/InvalidWebPriceData.cs @ 113:954f66bb8dbf

Portable library added for DTO
author adminsh@apollo
date Sat, 19 May 2012 16:21:07 +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;
    }
  }
}