Seq Diagram Drawing try catch block in UML

前端 未结 2 512
失恋的感觉
失恋的感觉 2021-01-05 07:27

I have a question, how can I draw try catch block in sequence diagram in UML? Can I draw the try as the normal case and the catch as the alternative case or no?

I\'m

2条回答
  •  伪装坚强ぢ
    2021-01-05 07:44

    UML sequence diagram lacks of being able to visualize exceptions. There are "workarounds" however, please refer to:

    • Break
    • Sequence Diagrams: Questions & Answers
    • Stackoverflow answer

提交回复
热议问题