what's the proper way of doing error handling in a function? This is what I usually do:
VB Code:
  1. Public Shared Sub ResizeImage(ByVal srcPath As String, ByVal destPath As String...
  2.         Dim srcImage As Image
  3.         Try
  4.             srcImage = Image.FromFile(srcPath)
  5.         Catch ex As Exception
  6.             Throw New ArgumentException("Error opening the source image", "srcPath", ex)
  7.         End Try
  8.         srcImage.Dispose()
  9.     End Sub

should I just let the code throw an exception by itself? or is it better to make a new exception like that?