Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are a few exceptions that have been defined as "unrecoverable". One of them is <code>MissingMethodException</code>, because if a method is missing in a class, this is a severe error and it requires unloading the class and reloading a new class to recover, which cannot be done trivially (if at all). </p> <p>To recover, you need to reinstall, check the versions of the assemblies, check whether the PE images are valid etc.</p> <p>If all you want to know is whether SP2 is installed, the default method is using a bootstrap application which simply checks the installed version. If all's fine, it runs the application, if not it shows a nice message.</p> <hr> <p><strong>Update requested by OP:</strong><br> Other exceptions that are either hard to catch or uncatchable (may depend on your version of .NET, i.e., .NET 4.0 added more uncatchables): <code>OutOfMemoryException</code> (can be caught when it is synchronous), <code>StackOverflowException</code> (can never be caught), <code>ThreadAbortException</code> (can be caught, but is special because it will automatically be reraised at the end of the catch-block), <code>BadImageFormatException</code> and <code>MissingManifestResourceException</code> if you'd try to catch it in the assembly throwing the exception (if you load it dynamically, same as with <code>MissingMethodException</code>, you are capable of catching it). And in general, any exception that does not inherit from <code>Exception</code> is hard to catch (but you can catch them with a generic try/catch block).</p> <p>There are others, but the first three above are the ones you'll encounter most often in practice.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload