2007/11/8, Andrew Coppin [EMAIL PROTECTED]:
Anyway, I wrote a cute little test function for figuring out how each
kind of exception works:
Hi,
could you post your code for this cute test? I would be greatful.
Thanks,
Radek
P.S. Not that I can help, but I'd like to start learning this.
--
Radosław Grzanka wrote:
2007/11/8, Andrew Coppin [EMAIL PROTECTED]:
Anyway, I wrote a cute little test function for figuring out how each
kind of exception works:
Hi,
could you post your code for this cute test? I would be greatful.
Thanks,
Radek
P.S. Not that I can help, but
Well, my problems have now multiplied beyong belief!
Allow me to summerise:
1. There exists an I/O exception called invalid parameter, which is
not detectable with any of the 8 predicates. (Isn't this what illegal
operation is supposed to be for? A general catch-all?)
2. Attempting to open
On Nov 9, 2007, at 15:01 , Andrew Coppin wrote:
4. Not actually related to exceptions, but doesDirectoryExist C:\
yields False. (Even though getDirectoryContents C:\ yields the
correct result.) So I can't even use that to filter out invalid
directory names.
This is an ancient and
I've been doing some testing to try to figure out the tangled maze that
is exception handling. (Is there a *reason* why half of all exceptions
are dynamic, and the other half aren't? Couldn't we have just 1 system?)
Anyway, I wrote a cute little test function for figuring out how each
kind of