C# Класс MONI.Util.ExceptionExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
IsFatalException ( Exception ex ) : bool

Convience function for those that are not availability aware to quickly test if they should rethrow.

The question is where in the catch clause to put the test, at the beginning of the catch or at the end. Sometimes we do important cleaning in the catch clause plus notification of other threads. In doubt do the throw at the end of the exception handling.

Приватные методы

Метод Описание
ContainsException ( Exception ex ) : bool

Описание методов

IsFatalException() публичный статический Метод

Convience function for those that are not availability aware to quickly test if they should rethrow.
The question is where in the catch clause to put the test, at the beginning of the catch or at the end. Sometimes we do important cleaning in the catch clause plus notification of other threads. In doubt do the throw at the end of the exception handling.
public static IsFatalException ( Exception ex ) : bool
ex System.Exception
Результат bool