[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 16:05:02 EDT 2003
- Previous message: [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
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Tuesday 22 April 2003 22:51, Gonzalo Paniagua Javier wrote:
> 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?
No, not in this case. Dont as me why, but specs says so.
> 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.
I have tested it with Test/System.IO/DirectoryTest.cs and
System.IO/FileTest.cs. I wrote couple of more test. And lots of errors are
fixed by those lines. Is there someother tests which I should test test
before commiting anything?
- Previous message: [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
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Mono-devel-list
mailing list