Difference between Throw Exception and Throw Clause

Total Post:154

Points:1086
C#  .NET 
C#
 992  View(s)
Ratings:
Rate this:
Hi All,
Please anyone can give a answer, what difference between Throw Exception and Throw Clause.

Thank you.
  1. Post:135

    Points:949
    Re: Difference between Throw Exception and Throw Clause

    The Throw exception overwrites the stack trace and this makes it hard to find the original code line number that has thrown the exception.
    Throw clause basically retains the stack information and adds to the stack information in the exception that it is thrown.

    For more details you click here.

      Modified On Apr-11-2018 01:04:53 AM

Answer