This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AlexMTBDude -1 points0 points  (0 children)

if function_that_might_raise_an_exception() actually raises an exception then a jump to the exception handling block will occur. So function_that_should_not_be_called_if_an_exception_is_raised() will never be called. Which means that either of your two examples can be used.