Miki/Kris,
> --- start --- > 10.6.4 ejbCreate<METHOD> methods [snip] > The throws clause must define the javax.ejb.CreateException. > The throws clause may define arbitrary application specific exceptions. > > --- end --- > > In my previous mail, I pointed out the last paragraph of the > 10.6.4. > > It isn't obvious for me that "the throws" means "the throws of the > create<METHOD>(...)" because this subsection specifies ejbCreate() > not create(). > > I know a possibility of that "the throws" may refere to the last > method, which is "create()" in this case. I think you're reading the wrong section.... from 10.6.10 of ejb2 spec: --- start --- All the exceptions defined in the throws clause of the matching ejbCreate<METHOD> and ejb- PostCreate<METHOD> methods of the enterprise Bean class must be included in the throws clause of the matching create method of the home interface (i.e., the set of exceptions defined for the create method must be a superset of the union of exceptions defined for the ejbCreate<METHOD> and ejbPostCreate<METHOD> methods). --- end --- so the create method's throws clause much match the ejbCreate throws clause. cheers dim =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
