How can I walk through the InnerExceptions ? Would the following code be
correct?
Private Sub ShowException(B yVal ex As Exception)
MsgBox(ex.Messa ge)
If ex.InnerExcepti on Is Nothing = False Then _
ShowException(e x.InnerExceptio n)
End Sub
I thought I saw a snippet a while ago using a For...Each loop, but I'm
unable to find it again.
*** Sent via Developersdex http://www.developersdex.com ***
correct?
Private Sub ShowException(B yVal ex As Exception)
MsgBox(ex.Messa ge)
If ex.InnerExcepti on Is Nothing = False Then _
ShowException(e x.InnerExceptio n)
End Sub
I thought I saw a snippet a while ago using a For...Each loop, but I'm
unable to find it again.
*** Sent via Developersdex http://www.developersdex.com ***
Comment