A number of standard exceptions are built into ASP.NET - here's a list of the most common ones.
System.DivideByZeroException - generated when an attempt is made to divide by zero
System.IndexOutOfRangeException - generated when an attempt is made to access a non-existent element index;
System.NullReferenceException - a null reference is used in a way that causes the referenced object to be required.
System.OutOfMemoryException - generated when an out-of-memory error occurs;
System.DllNotFoundException - generated when a DLL that an application may require is not found
For a complete list, take a look athttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html/vclrfcsharpspec_16_4.asp.
Next: All Wrapped Up >>
More ASP.NET ArticlesMore By Harish Kamath (c) Melonfire