Paulo Lopes wrote:
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?
It's even more bizarre as the one you reported previously. I don't like it. Did we do so simple mistakes in the meantime (we're about to release 1.0)?
Thanks! Keep testing! :)
Paulo
Jacek
