0 Replies Latest reply on May 2, 2002 9:52 AM by Bill Pfeiffer

    ejbRemove and RemoveException

    Bill Pfeiffer Newbie

      I have a BMP entity bean which, upon ejbRemove, needs to check for the existance of child rows and abort the remove if such rows exist. I have coded this to throw a RemoveException.

      The exception that comes back to the client is javax.transaction.TransactionRolledbackException and not the RemoveException.

      What is the recommended means to communicate to the client of the ejb that the child rows exist and the remove cannot take place?

      TIA,

      Bill Pfeiffer