In an webservice I see this code: Whats the point of catch the exception and just throw it again? Do I miss something?
<WebMethod()> _
Public Function dosomething() As Boolean
Try
If successful Then
Return True
Else
Return False
End If
Catch ex As Exception
Throw ex
End Try
End Function
Edit: Thanks for the answers! I thought it was something like that, but wasn't sure If I could/would refactor those away without any implications.