May 2010
Intermediate to advanced
1272 pages
61h 18m
English
System.Exception, Naming Conventions and SpecializationSystem.Exception is the most general exception and can represent all kinds of errors occurring in applications. It is also the base class for derived exceptions, which are specific to situations you may encounter. For example, the System.IOException derives from System.Exception, is thrown when the application encounters input/output errors when accessing the disk, and can be handled only for this particular situation. On the other hand, System.Exception can handle not only this situation but also any other occurring errors. You can think of System.Exception as of the root in the exceptions hierarchy. We explain later in code the hierarchy of exception handling. Classes representing exceptions ...
Read now
Unlock full access