Method IsCriticalException
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Fundamentals.dll
IsCriticalException(Exception)
Returns true if the exception is a critical exception that should not be handled or suppressed.
public static bool IsCriticalException(Exception ex)
Parameters
ex
Exception
Returns
Remarks
These are considered to be critical exceptions:
- AccessViolationException
- NullReferenceException
- OutOfMemoryException (but not InsufficientMemoryException)
- SEHException
- StackOverflowException
- ThreadAbortException