Hey, using such code:
Try
...connect to some remote server...
Catch Exception As Exception
MsgBox(Exception.Message)
End Try
Can throw different exceptions, but in some cases, repeated multiple nested inner exceptions will throw like this:
IOException occurred during SSL negotiation. InnerException message follows: An existing connection was forcibly closed by the remote host. InnerException message follows: An existing connection was forcibly closed by the remote host InnerException message follows: An existing connection was forcibly closed by the remote host
I have the same inner exception 3 times with the same message text! This it not very usual, but how can I filter the repeated ones? The message text can be very different so can't use string manipulation.
Any help please? :)
Thanks in advance.