C# 클래스 MONI.Util.ExceptionExtensions

파일 보기 프로젝트 열기: dotob/moni

공개 메소드들

메소드 설명
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