diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-01-27 01:02:05 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-01-27 01:02:05 +0100 |
commit | 82c83078a91acc3ce25572e28096b0b4bbe8d67c (patch) | |
tree | 9fa6d86baaa38bab2223d78ec5e8b2ba5c0dc97e /user_guide_src/source/general | |
parent | 295189dec24ded5617054d62950c27ab544bbdb4 (diff) |
Added try catch example in style guide
Diffstat (limited to 'user_guide_src/source/general')
-rw-r--r-- | user_guide_src/source/general/styleguide.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user_guide_src/source/general/styleguide.rst b/user_guide_src/source/general/styleguide.rst index b3dc08871..d8bdd0531 100644 --- a/user_guide_src/source/general/styleguide.rst +++ b/user_guide_src/source/general/styleguide.rst @@ -441,6 +441,13 @@ same level as the control statement that "owns" them. // ... } } + + try { + // ... + } + catch() { + // ... + } **CORRECT**:: @@ -470,6 +477,15 @@ same level as the control statement that "owns" them. // ... } } + + try + { + // ... + } + catch() + { + // ... + } Bracket and Parenthetic Spacing =============================== |