Question

What is the difference between exceptionpolicy and exceptionmanager classes of Microsoft Enterprise Library?? I didn't even know that exceptionmanager existed! Why are there two different classes?

Was it helpful?

Solution

ExceptionManager Exists

See this Link

I'll prefer ExceptionManger to handle my all exception as i can compare exception, start process according to exception policy, can know the type of exception while ExceptionPolicy just give me a single member function to handle exception nothing else...

you should also go through from these links...

1. Members of ExceptionManager

2. Members of ExceptionPolicy

3. Introduction to the Exception Handling Application Block

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top