Eddie wrote:
>
> To me it's a bit unclear when I need to throw a FinderException in the
> finder methods in the Home interface with CMP. ?
> Now I only throw a finderException in case of
> - the findByPrimareyKey (otherwise orion complaints),
> - and in case of a single return object (orion doesn't complain, but gives
> "strange" runtime errors).
>
> So when a finder returns a collection I don't throw a finderException!! Is
> this correct ?
No. Every finder method should declare that it throws FinderException.
Joni
[EMAIL PROTECTED]