1 Replies - 997 Views - Last Post: 10 July 2013 - 12:29 PM

#1 Dylsauce  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 98
  • Joined: 30-June 13

Should you put Exceptions in your UML?

Posted 10 July 2013 - 12:26 PM

I don't know which languages have these but in Java there are classes called exceptions. Are you suppose to put these in a UML diagram? If so, what kind of relation arrow should you use?
Is This A Good Question/Topic? 0
  • +

Replies To: Should you put Exceptions in your UML?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9426
  • View blog
  • Posts: 35,422
  • Joined: 12-June 08

Re: Should you put Exceptions in your UML?

Posted 10 July 2013 - 12:29 PM

Typically - no.. Exceptions are for when your code goes bad, right? Unless you have some sort of earth shattering activity in the exception (outside of failing gracefully and outputting an error) then yes you would need them, but typically, no, I do not include them in my diagram. They are just part and parcel for certain code areas.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1