OpenEJB0.9.2 vs OpenEJB1 (CVS)

On 0.9.2 version i have a Bean wich findByPrimaryKey(...) method throws javax.ejb.NoSuchObjectException when no data is found for that PK in the database, and my JSP file just catches a javax.ejb.FinderException.

Since NoSuchObjectException is a subclass of FinderException, my JSP works fine.

Now with 1.0 (CVS version) the code:

try { ... } catch(FinderException) {...} does not catch a NoSuchObjectException...

Is this supposed to be like this?

Thanks,
Paulo

Reply via email to