diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Domain/Exceptions/InvalidStateException.cs	Sun Jun 05 13:22:36 2011 -0300
@@ -0,0 +1,13 @@
+using System;
+using System.Globalization;
+
+namespace AltNetHispano.Agendas.Domain.Exceptions
+{
+  public class InvalidStateException : Exception
+  {
+    public InvalidStateException(string state)
+      : base(string.Format(CultureInfo.InvariantCulture, "El estado '{0}' no es valido", state))
+    {
+    }
+  }
+}
\ No newline at end of file