annotate Agendas/trunk/src/Agendas.Domain/Exceptions/InvalidStateException.cs @ 182:beeb48ddb44a

Warning con los errores que se guarden en el log del track de un evento durante una notificación (twitter, calendar, blog)
author nelopauselli
date Mon, 08 Aug 2011 21:57:10 -0300
parents c5034884c7d7
children
rev   line source
104
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
1 using System;
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
2 using System.Globalization;
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
3
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
4 namespace AltNetHispano.Agendas.Domain.Exceptions
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
5 {
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
6 public class InvalidStateException : Exception
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
7 {
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
8 public InvalidStateException(string state)
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
9 : base(string.Format(CultureInfo.InvariantCulture, "El estado '{0}' no es valido", state))
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
10 {
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
11 }
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
12 }
c5034884c7d7 refactor para que los estados sean singletons
jorge.rowies
parents:
diff changeset
13 }