Book a Demo

Author Topic: How to mention java exception in class diagram  (Read 4720 times)

enric

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
How to mention java exception in class diagram
« on: August 03, 2009, 04:45:38 pm »
While designing a java class with operations where we can mention the throws section in the particular operation window.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: How to mention java exception in class diagram
« Reply #1 on: August 03, 2009, 04:50:41 pm »
Set a throws tagged value on the operation.  See:
http://www.sparxsystems.com/uml_tool_guide/code_engineering/java_conventions.html

More information on how to set Tagged Values can be found in the help file provided with EA.

HTH.

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: How to mention java exception in class diagram
« Reply #2 on: August 03, 2009, 04:51:50 pm »
There was also an interesting article on jGuru about modelling java exceptions a while ago. It can be found here: http://www.jguru.com/faq/view.jsp?EID=62790

PS: Posts of this nature would probably be more suited to the UML Process section of the forum rather than Bugs/Issues
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

enric

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How to mention java exception in class diagram
« Reply #3 on: August 03, 2009, 05:05:50 pm »
Thnx  Aaron B & mrf for your quick reply...... :)