Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Exceptions bypass catch blocks in .net [duplicate]

So from http://msdn.microsoft.com/en-us/library/ms173161.aspx

Once an exception is thrown, it propagates up the call stack until a catch statement for the exception is found.

So the implcation is that all exception typess can be either caught by a catch(ExceptionType) or a generic catch.

However this is plainly not true. For example AccessViolationException bypasses standard exception handling

How to handle AccessViolationException

So what other exceptions also bypass standard exception handling?

like image 556
Simon Avatar asked Jul 22 '14 19:07

Simon


1 Answers

I would say that a StackOverflowException is most likely unhandled, I'm not aware of others.

like image 90
LazyOfT Avatar answered Oct 05 '22 12:10

LazyOfT