Dear friends,

I want to discover if an exception happened, but I want to do this inside the finally block.
I could create a boolean variable in the try block and set the value to true on catch block if an exception happened, but I'll have to update all methods to this situation, otherwise, If is possible to detect on finally block the impact is lower.

Here is an example:

Code:
    Private Sub Test()
        Try
            'normal code implementation
        Catch ex As Exception
            'Exception Handling
        Finally
            'If happened an exception
            Trace(True)
            'If NOT happened an exception
            Trace(False)
        End Try
    End Sub

    Private Sub Trace(ByVal err As Boolean)
        'normal code implementation
    End Sub
Thanks and sorry for my bad English.