[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

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Apr 22 15:51:50 EDT 2003


El mar, 22 de 04 de 2003 a las 21:41, ville escribió:
> 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. 

Exactly. If there's a 'file not found' error, isn't
FileNotFoundException supposed to be thrown?

Take a look at the messages and exceptions returned by
MonoIO.cs:GetException.

I've not done any test, but unless you've been *very* careful in
removing the MonoIO.GetException lines, some tests may fail.

If everything works as expected (= as MS), forget this email ;-).

Cheers.

-Gonzalo





More information about the Mono-devel-list mailing list