March 2004
Intermediate to advanced
560 pages
26h 47m
English
public class ApplicationException : Exception { // Constructors public ApplicationException (); public ApplicationException (string message); public ApplicationException (string message, Exception innerException); MS CF protected ApplicationException (SerializationInfo info, StreamingContext context); }
|
KC Designing exception hierarchies is tricky. Well-designed exception hierarchies are wide, not very deep, and contain only those exceptions for which there is a programmating scenario for catching. We added ApplicationException thinking it would add value by grouping exceptions declared outside of the .NET Framework, but there is no scenario for catching ApplicationException and it only adds unnecessary depth to the hierarchy. ... |
Read now
Unlock full access