Exception Safe Programming
Tyler Knott
tywebmail at mailcity.com
Sun Feb 25 14:34:40 PST 2007
Saaa wrote:
> That is the whole code.. I've stripped it bare. Only a main calling that
> function:
>
> void main()
> {
> char[][] files;
> getPictureList("pictures",files);
> }
>
Ah, I found the problem. You're trying to list the contents of a directory that
doesn't exist. The error message isn't very clear, but that's the problem. I
don't know why commenting out the line with the throw is changing the behavior
of the program, because it shouldn't.
More information about the Digitalmars-d-learn
mailing list