Book a Demo

Author Topic: Exceptions on Operations  (Read 3740 times)

angel-o-sphere

  • EA User
  • **
  • Posts: 112
  • Karma: +0/-0
    • View Profile
Exceptions on Operations
« on: August 23, 2006, 12:45:35 pm »
Hm,

the operations specification dialog has no option for specifying exceptiosn, do I miss something?

Any idea which field to abuse?

Angelo

thomaskilian

  • Guest
Re: Exceptions on Operations
« Reply #1 on: August 23, 2006, 02:52:55 pm »
Maybe you can try to use a <<exception>> stereotype.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Exceptions on Operations
« Reply #2 on: August 23, 2006, 03:08:37 pm »
I assume you're talking about what exceptions a method can throw.  They need to be added to a "throws" tag.  See http://www.sparxsystems.com.au/EAUserGuide/index.html?java_conventions.htm or the complete list of tagged values and stereotypes supported by EA code engineering.

angel-o-sphere

  • EA User
  • **
  • Posts: 112
  • Karma: +0/-0
    • View Profile
Re: Exceptions on Operations
« Reply #3 on: August 24, 2006, 05:05:37 am »
Thanx :D

Via a thows tag it will be ok, however I could not figure until today how to add tags, lol.

Thank you for the two hints, wold be a bit better IMHO if you could do that directly on the method specificatin pane and not in a different window.

Angelo