2 REM ExpectedError: BC30754
\r
3 REM ErrorMessage: 'Goto label1' is not valid because 'label1' is inside a 'Try',
\r
4 REM 'Catch' or 'Finally' statement that does not contain this statement.
\r
8 Module ExceptionHandlingC5
\r
11 Dim i As Integer = 0
\r
17 label1: ' do something here
\r
20 Catch e As Exception
\r
22 Console.WriteLine("Exception in Main: " & e.Message)
\r