0 Replies Latest reply on Mar 25, 2003 8:37 AM by Joanna Chlasta

    The throws clause must define the javax.ejb.CreateException

    Joanna Chlasta Newbie

      Hi Everyone.

      I keep getting such a warning/error

      "Bean : OActiveSession
      Method : public Integer ejbCreate(Integer)
      Section: 10.6.4
      Warning: The throws clause must define the javax.ejb.CreateException."

      I seen the error in some other questions, but there never was an answer connected to this issue.

      What should I do to get rid of the problem? I am throwing CreateException, so why does it require me to define something?

      Joanna