My testing seems to indicate that it won't, but no documentation I can find
explicitly states this. Let's say I throw a customer exception like this:
Try
m = New MyObject
Catch ex As Exception
Throw New MyObjectCreatio nFailedExceptio n(<stuff>)
LaunchNuclearMi ssiles()
End Try
Will the world ever get annihilated?
(I don't know WHY I thought I could put cleanup code after a Throw
statement, but I tried anyway and while stepping through in the debugger I
noticed that I was jumping out of the procedure as soon as the error was
thrown. Oops!)
explicitly states this. Let's say I throw a customer exception like this:
Try
m = New MyObject
Catch ex As Exception
Throw New MyObjectCreatio nFailedExceptio n(<stuff>)
LaunchNuclearMi ssiles()
End Try
Will the world ever get annihilated?
(I don't know WHY I thought I could put cleanup code after a Throw
statement, but I tried anyway and while stepping through in the debugger I
noticed that I was jumping out of the procedure as soon as the error was
thrown. Oops!)
Comment