Exceptions | SoloLearn: Learn to code for FREE!



Are specific exceptions called before general exceptions in Python and C# ?

4/13/2019 2:20:40 AM

Sanjay Kamath

3 Answers

New Answer


Yes That is true. The most general exception is Exception. But if a more specific exception applies, then this block will handle the exception. Only one catch block handles the exception https://www.tutorialsteacher.com/csharp/csharp-exception-handling


in C# General exception not called ,if in code use specific exception. After specific exception will call 'finally' part , if it exist.


Hi all!)