view Agendas/trunk/src/Agendas.Domain/Exceptions/AccionNoSoportadaException.cs @ 242:5cc1681d3789

Combinar
author juanjose.montesdeocaarbos
date Wed, 05 Oct 2011 07:57:21 -0300
parents 9bfdd5bf3ad2
children
line wrap: on
line source

using System;
using System.Globalization;

namespace AltNetHispano.Agendas.Domain.Exceptions
{
  public class AccionNoSoportadaException : Exception
  {
    public AccionNoSoportadaException(Type stateType, Accion accion) :
      base(string.Format(CultureInfo.InvariantCulture, 
                         "No se puede realizar la accion '{0}' en el estado '{1}'",
                         accion, stateType.Name))
    {
    }
  }
}