|
I did what you said and it
didn�t work.
When I inserted a stereotype
(<<ExceptionRef>>) in the dependency between the service and the
exception, it works.
The problem is resolved.
Thanks, Chad.
Luciana. De: Chad Brandon [mailto:[EMAIL PROTECTED] Enviada: ter 21/12/2004 14:09 Para: Luciana Nunes Leal; [email protected] Assunto: RE: [Andromda-devel] Exception in Session Bean Just draw a dependency from the <<Service>>’s operation(s) to the element stereotyped with <<Exception>> (or <<UnexpectedException>> / <<ApplicationException>>). If you want every operation to throw the exception you draw the dependency from the service to the exception. If you only want some of the operations to throw the exception: you draw a dependency from the operations you want throwing it, to the exception element.
Chad
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luciana Nunes Leal
Hi,
I�m using the ejb-cartridge. I modeled my service class with "Service" stereotype. I�d like that one specific method of this session bean throw the exception that I created.
How can I should model this relation between the service and the exception? Is there any stereotype for this? Note that I want some methods throws this exception, not all.
Thanks. Luciana. |
- RES: [Andromda-devel] Exception in Session Bean Luciana Nunes Leal
- RE: [Andromda-devel] Exception in Session Bean Chad Brandon
