[Mono-devel-list] [Mono-patches] mcs/class/corlib/System.IO ChangeLog,1.159,1.160 Directory.cs,1.28,1.29 File.cs,1.20,1.21

ville vi64pa at kolumbus.fi
Tue Apr 22 15:58:24 EDT 2003


...And reason for change was that old version throws FileNotFoundException but 
it should throw IOException.  

On Tuesday 22 April 2003 22:41, ville wrote:
> Hi,
>
> Umm, yes, and know, those methods should not throw any other exceptions
> than which are checked in CheckPathExceptions () method or if file or
> directory does not exists or some other IO-erros occures IOException is
> thrown.
>
> There was same kind of line already in GetCreationTime (). So I figured we
> can use it in other places too.
>
> But it is true that we may miss some other error, but then again, it should
> not be true. So perhaps I should change that?
>
> Ville
>
> On Tuesday 22 April 2003 22:22, Gonzalo Paniagua Javier wrote:
> > Hi!
> >
> > Ville, these lines (and others like them), prevent a useful error from
> > being displayed:
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list