C# (CSharp) MONI.Util ExceptionExtensions.IsFatalException - 2 exemples trouvés. Ce sont les exemples réels les mieux notés de MONI.Util.ExceptionExtensions.IsFatalException extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
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.