SCJP,SCBCD
Originally posted by Valentin Crettaz:
[QB]Entity beans (10.6.4):
The throws clause [of the ejbCreate method of an entity bean] must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions.QB]
James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
Nileesha<br />SCJP 1.4, SCBCD, SCWCD.
James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
Container-Managed Persistence Entity beans' ejbCreate (10.6.4):
The throws clause must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions.
Bean-Managed Persistence Entity beans' ejbCreate (12.2.3):
The throws clause may define arbitrary application specific exceptions, including the javax.ejb.CreateException.
Alex (SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCJD 1.4)
James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
Entity beans (10.6.4):
The throws clause [of the ejbCreate method of an entity bean] must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions.
You may declare throws clause with CreateException, or any arbitary application (checked) exceptionthat you like, as long as it was also declared in the home interface, but you must NOT declare a RemoteException.
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
SCJP,SCBCD
Consider Paul's rocket mass heater. |