Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Exceptions/AccionNoSoportadaException.cs @ 109:6bd9be78caa0
Merge
author | Nelo@Kenia.neluz.int |
---|---|
date | Tue, 07 Jun 2011 23:21:07 -0300 |
parents | 9bfdd5bf3ad2 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Domain/Exceptions/AccionNoSoportadaException.cs Tue Jun 07 23:21:07 2011 -0300 @@ -0,0 +1,15 @@ +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)) + { + } + } +} \ No newline at end of file