1 Reply Latest reply on Jun 7, 2006 9:12 AM by Colin Goudie

    Catching exceptions in Session Bean

    Colin Goudie Newbie

      Hello,

      Has something changed with the way you catch exceptions from session beans in 4.0.4.GA??

      I was successfully catching ConstraintViolationExceptions by the methods already discussed on this forum. Namely

      1. flushing the entity manager
      2. catching ConstraintViolationException
      3. throwing a new custom Checked Exceptions annotated with @ApplicationException and rollback=true
      4. Catching this custom Checked Exceptions on the client.

      However, since 4.0.4.GA my exceptions have gone back to being thrown as Runtimeexceptions and my client never gets them??

      Did I just break something or has something changed?

      Thanks