comparison Agendas/trunk/src/Agendas.Domain/Exceptions/InvalidStateException.cs @ 104:c5034884c7d7

refactor para que los estados sean singletons
author jorge.rowies
date Sun, 05 Jun 2011 13:22:36 -0300
parents
children
comparison
equal deleted inserted replaced
103:23325dddddcc 104:c5034884c7d7
1 using System;
2 using System.Globalization;
3
4 namespace AltNetHispano.Agendas.Domain.Exceptions
5 {
6 public class InvalidStateException : Exception
7 {
8 public InvalidStateException(string state)
9 : base(string.Format(CultureInfo.InvariantCulture, "El estado '{0}' no es valido", state))
10 {
11 }
12 }
13 }