[ http://jira.andromda.org/browse/EJB-115?page=all ]
Olivier THIERRY updated EJB-115:
--------------------------------
Attachment: ejb-115.diff
> No @ApplicationException annotation in default service exception classes
> ------------------------------------------------------------------------
>
> Key: EJB-115
> URL: http://jira.andromda.org/browse/EJB-115
> Project: EJB Cartridge
> Type: Bug
> Reporter: Olivier THIERRY
> Assignee: Vance Karimi
> Attachments: ejb-115.diff
>
> Any system exception thrown by a method of a session bean discards the
> session bean instance. So you will have a "javax.ejb.NoSuchEjbException
> reference is invalid" error when calling a method on a session bean if a
> previous call threw a system exception. If you need an exception not to be
> considered as a system exception (and that's the case for default service
> exception classes generated by AndroMDA), you have to add
> @javax.ejb.ApplicationException to the exception class. This is not done by
> AndroMDA templates !
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/