UML Squence Diagram - visualize validation of data
问题 A method performs successively validation checks with some passed data. If a validation check fails, a exception will be immediately thrown and the method aborted. How can visualize this flow with UML sequence diagrams? Is it possible / allowed to show exceptions in sequence diagrams? A possible solution perhaps is to use nested alternatives. 回答1: UML does not provide something specific to model exceptions. Look at http://www.uml-diagrams.org/sequence-diagrams-questions-answers.html However