On Sat, 09 Aug 2003 11:53:54 -0700, Vladimir R. Bossicard wrote:

> I would like to make the following enhancements:
> 
> - empty catch block: log the exception (so that we know when something
> went wrong)

+1 ... I'm assuming an empty catch block means that the error is expected.
I've seen a number of catch block that put out warning messages and do
noting else.

> - have a default label for every switch (write into the log if we go
> there)

Acutally I think we shoud throw an IllegalStateException. These are things
that should not happen. It's an error if they do.

> any objection?
> 
> -Vladimir

-k.

Reply via email to