Oh, sorry, now I get it.

Maybe you should validate as "false" if you are really expecting a type, but
don't throw an exception.

On Tue, Mar 17, 2009 at 5:19 PM, Brendan Erwin <brendanjer...@gmail.com>wrote:

>
> I'm creating a custom Validator that should only be applied to types
> of DateTime and DateTime?.
>
> Is there an appropriate Validator exception for me to throw when I
> detect an incompatible type?
>
>
> >
>
>


-- 
Dario Quintana
http://darioquintana.com.ar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to