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
Sent: Tuesday, December 21, 2004 8:24 AM
To: [email protected]
Subject: [Andromda-devel] Exception in Session Bean

 

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.

------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to