In many cases, you can use existing exception classes from the .NET Framework Class Library to indicate exceptions that occur in your programs. In some cases, however, you might wish to create new exception classes specific to the problems that occur in your programs. User-defined exception classes should derive directly or indirectly from class
Exception of namespace
System. When you create code that throws exceptions, they should be well documented, so that other developers who use your code will know how to handle them.
Good Programming Practice 13.1
Associating each type of malfunction with an appropriately ...