view 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
line wrap: on
line source

using System;
using System.Collections.Generic;
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;
    }
  }
}