On 1/8/07, Stephen Colebourne <[EMAIL PROTECTED]> wrote:
Martin Cooper wrote:
> Could you say more about this, please? I happen to disagree on
> exceptions as
> inner classes being a bad idea; FileUpload has done this for years, without
> any problems. But I'm always interested in hearing new perspectives...
I guess its stylistic, and therefore subjective. But I see an exception
as a critical system object, and not one that should be relegated to
inner class status.
+1
} catch( DirectoryWalker.CancellationException ce) {
...
}
feels weak to me. Either we should catch CancellationException and its
a normal class, or we should catch IOException and it's package static
rather than public static.
Hen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]