Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Andreas Ames on August 25, 2010, 03:30:40 am
-
Hi all,
is there a recommended way in EA to depict exceptions and their relations to operations within structural diagrams (like class diagrams)?
TIA,
aa
-
I don't think there is.
You can create the exceptions as regular classes, and draw a dependency from the class owning the operation to the exception.
If you want to be more specific you can link the dependency to the operation that throws this exception, but that might seriously overload your diagrams.
Geert
-
You can give the operation a tagged value named "throws" as described on this page of the help: http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/java_conventions.html