[Mono-devel-list] Raising Finer Grained Exceptions

Miguel de Icaza miguel at ximian.com
Sat Oct 11 17:16:50 EDT 2003


Hello,

> In addition, Id like to know if I am able to throw additional
> exceptions as I see fit, such as InvalidArgumentException and
> ArgumentOutOfRangeException, even if Microsofts code does not.  I
> know ideally were trying to mirror everything in a consistent
> manner, however in a lot of cases, Microsofts implementation is
> lacking and it is hard for the anal side of me to not write something
> more robust than what theyve provided.

If it is a real error condition, yes, feel free to add the exceptions.

Miguel



More information about the Mono-devel-list mailing list