Book a Demo

Author Topic: How to depict exceptions in structural diagrams?  (Read 2848 times)

Andreas Ames

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
How to depict exceptions in structural diagrams?
« 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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to depict exceptions in structural diagram
« Reply #1 on: August 25, 2010, 03:47:30 pm »
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

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to depict exceptions in structural diagram
« Reply #2 on: August 25, 2010, 04:02:26 pm »
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
The Sparx Team
[email protected]