Home > DeveloperSection > Forums > Difference between Throw Exception and Throw Clause
Manoj Bhatt
Manoj Bhatt

Total Post:153

Points:1079
Posted on    January-27-2016 10:55 PM

 C# C#  .NET 
Ratings:


 1 Reply(s)
 307  View(s)
Rate this:
Hi All,
Please anyone can give a answer, what difference between Throw Exception and Throw Clause.

Thank you.


Anupam Mishra

Total Post:135

Points:949
Posted on    January-28-2016 3:49 AM

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.


Don't want to miss updates? Please click the below button!

Follow MindStick