Book a Demo

Author Topic: Representing Exceptions in EA  (Read 3003 times)

stiena

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Representing Exceptions in EA
« on: May 18, 2005, 02:27:57 am »
Apologies for such a basic question, but I'm pretty new to using EA.

In a class diagram, UML design - how do I represent a method that throws an Exception?

I have tried reverse engineering a class that contains an exception - but EA seems to ignore it.

There must be a way to represent an exception (or series of Exceptions) on an Java Class operation in EA but I'm struggling to find it.

Thanks,

A.

thomaskilian

  • Guest
Re: Representing Exceptions in EA
« Reply #1 on: May 18, 2005, 02:44:34 am »
You could simply define a method and adorn it with a stereotype <<exception>>. I remeber vaguely a similar discussion here some time ago.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Representing Exceptions in EA
« Reply #2 on: May 18, 2005, 03:38:11 pm »
There should be a tagged value "throws" on the method that throws an exception.

Simon