It says "thrown by" the create method. If the method get passed invalid
arguments you can throw a CreateException yourself in ejbCreate or the
Container will if it tries to put the invalid arguments into the
database....
<snip from refered book>
The CreateException is thrown by the create() method in the remote
interface. This
exception can be thrown by the container if the container is managing
persistence, or it can be thrown explicitly by the bean developer in the
ejbCreate() or ejbPostCreate() methods. This exception indicates that an
application error has occurred (invalid arguments, etc.) while the bean was
being created. If the container throws this exception, it may or may not
roll back the transaction. Explicit transaction methods must be used to
determine the outcome. Bean developers should roll back the transaction
before throwing this exception only if data integrity is a concern.
</snip>
/kjetilhp
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 23. april 2001 07:19
> To: [EMAIL PROTECTED]
> Subject: RE: Application Exceptions
>
>
>
>
> Hi,
>
> Its written that the CreateException is going to throw on create()
> method in the remote interface
>
>
===========================================================================
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".