UML中的序列图绘制try catch块 [英] Seq Diagram Drawing try catch block in UML

查看:46
本文介绍了UML中的序列图绘制try catch块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,如何在 UML 中的序列图中绘制 try catch 块?我可以将 try 绘制为正常情况,将 catch 绘制为替代情况或不绘制吗?

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?

我正在使用 Visio 绘制 UML 序列图.

I'm using Visio to dram the UML sequence diagrams.

推荐答案

UML 序列图缺乏可视化异常的能力.但是,有解决方法",请参阅:

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

这篇关于UML中的序列图绘制try catch块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆