How to use Throw and ReThrow

I have implemented an example for the same and what i have observed is…

  1. If i put throw in my Try block it will just throw whatever customized exception I have included in my throw. This will just through a pop up displaying the exception message.
  2. If the same has been handled used Rethrow in Catch block, an exception is thrown instead of a message box and the process is stopped abruptly. This exception is like any other exception containing the information mentioned in Throw(Source, Message, Exception)
3 Likes