What is an exceptional situation in code?

added by DotNetKicks
3/31/2017 1:55:32 PM

1 Kicks, 153 Views

This is a continuation of the topic of error handling. We'll discuss what an exceptional situation in code actually is and see some examples of it. I like to use the guideline "use exceptions for exceptional situations". It emphasizes that exceptions should be employed sparingly, and not as a tool for every job.