On Mon, Aug 24, 2009 at 9:39 PM, Frank Wierzbicki<fwierzbicki@...> wrote:
> On Mon, Aug 24, 2009 at 2:29 AM, Leo Soto M.<leo.soto@...> wrote:
> > Anything stupid on making findClass(name) simply call findClass(name,
> > "unknown reason") or something like that?
> Assuming you mean have the body of findClass(name) be
> findClassEx(name, "unknown reason")
> Unfortunately the exceptions that are thrown have different semantics
> (findClass always returns null and findClassEx sometimes throws real
Oh, right. Good thing I asked :)
Well, I think we can still refactor the common body to a single method
and call it from findClassEx and findClass, while keeping the
different exception handling code on each version. Or am I missing
Leo Soto M.