question-circle Modeling exceptions - the "throw" part

1 week 3 days ago #6035 by Robert Hairgrove
The image in the answer to this question on StackOverflow (done in Modelio, BTW) seems OK to model the code which contains a
try {} catch()
block. However, I am making an Activity diagram for the function which can throw the exception.

How is this usually done? At present, I just have a regular action with red background and a control flow leading to an Activity Final node. The text in the Action node has the throw command. But it would be nice to have something like the zig-zag line which is provided under "Exception Handler". Since the handler is outside the scope of the function, I cannot use it here.

Please Log in or Create an account to join the conversation.

Moderators: tma
Time to create page: 0.031 seconds
^ Back to Top