Author Topic: Does "Catch" catch all exceptions?  (Read 6664 times)

0 Members and 1 Guest are viewing this topic.

poncelet

  • Guest
Re: Does "Catch" catch all exceptions?
« Reply #15 on: May 14, 2012, 11:12:01 AM »
You can use System.Runtime.CompilerServices.RuntimeWrappedException to catch non CLS compliant exceptions.

TheMaster

  • Guest
Re: Does "Catch" catch all exceptions?
« Reply #16 on: May 15, 2012, 11:09:30 PM »
You can use System.Runtime.CompilerServices.RuntimeWrappedException to catch non CLS compliant exceptions.

Since it derives from System.Exception, yes.  But it doesn't catch the ones I noted above.