2 Replies Latest reply on Jan 29, 2003 7:28 AM by Suraj Amin

    findAll is not throwing FinderException

    Suraj Amin Newbie

      I have a CMP findAll. When there are no records in that table the findAll returns a empty collection without throwing a FinderException thought it specifies to catch it nevertheless.

      My questions are:
      1. Does it ever throw a FinderException?
      2. Is there a way to specify somewhere for the findAll to throw a FinderException in case there are no records in the table besides the if (collection.size() == 0) throw new FinderException()

      Suraj Amin

      Homepage: http://www.geocities.com/suraj_amin/

      /* May the source be with you */

      * Microsoft: Where do you want to go today?
      * Linux: Where do you want to go tomorrow?
      * BSD: Are you guys coming, or what?