bezzad / ErrorControlSystem

ErrorControlSystem is a .NET library created to automate handling .NET Windows-Base application exceptions and raise that to a sql server. This exception handler have some features as screen capturing, fetch server date time in exception occurrence time and etc.
http://bezzad.github.io/ErrorControlSystem/
GNU General Public License v3.0
32 stars 14 forks source link

Exempted exception from some code scopes #27

Closed bezzad closed 9 years ago

bezzad commented 9 years ago

In some code places, we need to not raise exception and that place defined to safe code for my library.

bezzad commented 9 years ago

In ExceptionHandler class, define a list of CodeScope to escape from raise error log at that code scopes.


public static List<CodeScope> ExemptedCodeScopes = new List<CodeScope>();

Use helper written on project Readme

bezzad commented 9 years ago

This proposal solved and attached to project in (Do Not Raise Self Exceptions) issue #26