|
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. |
