Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: LordCB on July 31, 2012, 03:01:43 pm
-
Hello friends,
is it true that the plugin have trouble with try catch blocks. I cannot generate diags with try catch included.
Yours,
-
I cannot generate diags with try catch included.
...because?
-
Maybe I see your issue: Are you looking for a "Try/Catch" block?
If so, you probably don't know that Nassi-Shneiderman is a standard with limited symbols (see here: http://en.wikipedia.org/wiki/Structogram). So unless you want to break the standard or invent a new one (which both makes no sense) there is no "Try/Catch" block. But it is also not needed, as with NS-diagrams you would model the "Try" part only; or "simulate" the "Try" and "Catch" flow with an "If-Then-Else" statement.
Edit: BTW: Here is the original reference: http://www.cs.umd.edu/hcil/members/bshneiderman/nsd/1973.pdf