blob: a7b2478b56ef9621fe9758592c03d5171f41d550 [file] [log] [blame]
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
When you want to catch exceptions thrown by some code fragment,
select it in the editor, press <span class="shortcut">&shortcut:SurroundWith;</span>
(<span class="control">Code | Surround With</span>) and choose <span class="control">try/except</span>.
This will automatically generate the except clause.</p>
<p class="image">
<img src="images/try_except.png" alt="surround"/></p>
</body>
</html>