Added support for try/catch statements in sequence diagrams
This commit is contained in:
@@ -94,6 +94,12 @@ std::string to_string(message_t r)
|
||||
return "for";
|
||||
case message_t::kForEnd:
|
||||
return "end for";
|
||||
case message_t::kTry:
|
||||
return "try";
|
||||
case message_t::kCatch:
|
||||
return "catch";
|
||||
case message_t::kTryEnd:
|
||||
return "end try";
|
||||
default:
|
||||
assert(false);
|
||||
return "";
|
||||
|
||||
@@ -53,6 +53,9 @@ enum class message_t {
|
||||
kDoEnd,
|
||||
kFor,
|
||||
kForEnd,
|
||||
kTry,
|
||||
kCatch,
|
||||
kTryEnd,
|
||||
kNone
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user