Class ExceptionUtils
Contains methods and properties related to the exceptions.
public static class ExceptionUtils
- Inheritance
-
ExceptionUtils
Methods
- DebugThrowIfNull(nint, string?)
Throws ArgumentNullException if argument is null.
- DebugThrowIfNull(object?, string?)
Throws ArgumentNullException if argument is null.
- DebugThrowIfNull(void*, string?)
Throws ArgumentNullException if argument is null.
- ForceUnhandledExceptionToUseDialog()
Configure unhandled exception mode so default error dialog will be shown.
- IsCriticalApplicationException(Exception)
Gets whether the specified exception is considered critical when it arise during callbacks into application code.
- IsCriticalException(Exception)
Gets whether the specified exception is considered critical.
- Rethrow(Exception?)
Rethrows the specified exception with the correct call stack information.
- UnhandledExceptionUsesDialog()
Gets whether unhandled exception mode is configured so default error dialog will be shown.
- UnwrapTargetInvocationException(Exception)
Gets inner exception.