I created a library project which has almost 5 files…
what is the best practice to handel exceptions…
Example…
A file handel outlook funtions… In same file I have if statements so that when in some point outlook shows error then I’m throwing business rule exceptions message.
Now my question is, Is it OK that I build exception process (what robot should do when this exception occure) in the same file or do I need to create a new file for that?
What is the best practice??
logically exception process should be in same file so that I dont repeat outlook activities in a new file again just to handel exceptions. But what is right?