Daniel Rall said:
> Nathan Bubna wrote:
> > Daniel L. Rall said:
> >
> > >Why are you catching Exception?
> >
> > consistency.  it's what i've been catching elsewhere in the class.
> >
> > >Nothing in that block throws Exception.
> >
> > following that argument, nothing in that block throws RuntimeException
either.
> > in fact, i've been in java's Date/Calendar/Format classes enough to know
that
> > the only thing we could really get here is IllegalArgumentExceptions.
>
> NullPointerException is also a possibility.

you sure? where?

> ...
>
> I'll leave things as they are for consistency's sake (I'm not going to
change
> all the other users), but I'm not a fan of the pattern.

ok, i'll try to remember to revisit this later.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to