Tuesday, September 27, 2011

Exceptions

How many types of exception handlers are there in .NET?what r they ..?


+--System.Object

|

|

+--System.Exception //This is the super class for all exceptions

|

|

+--System.SystemException

|

|

1 +--System.ArgumentException

| |

| |

| +--System.ArgumentNullException

| |

| |

| +--System.ArgumentOutOfRangeException

| |

| |

| +--System.DuplicateWaitObjectException

|

|

2 +--System.ArithmeticException

| |

| |

| +--System.DivideByZeroException

| |

| |

| +--System.OverflowException

| |

| |

| +--System.NotFiniteNumberException

|

|

3 +--System.ArrayTypeMismatchException

|

|

4 +--System.ExecutionEngineException

|

|

5+--System.FormatException

|

|

6+--System.IndexOutOfRangeException

|

|

7 +--System.InvalidCastException

|

|

8 +--System.InvalidOperationException

| |

| |

| +--System.ObjectDisposedException

|

|

9 +--System.InvalidProgramException

|

|

10 +--System.IO.IOException

| |

| |

| +--System.IO.DirectoryNotFoundException

| |

| |

| +--System.IO.EndOfStreamException

| |

| |

| +--System.IO.FileLoadException

| |

| |

| +--System.IO.FileNotFoundException

| |

| |

| +--System.IO.PathTooLongException

|

|

11 +--System.NotImplementedException

|

|

12 +--System.NotSupportedException

|

|

13 +--System.NullReferenceException

|

|

14 +--System.OutOfMemoryException

|

|

15 +--System.RankException

|

|

16 +--System.Security.SecurityException

|

|

17 +--System.Security.VerificationException

|

|

18 +--System.StackOverflowException

|

|

19 +--System.Threading.SynchronizationLockException

|

|

20 +--System.Threading.ThreadAbortException

|

|

21 +--System.Threading.ThreadStateException

|

|

22 +--System.TypeInitializationException

|

|

23 +--System.UnauthorizedAccessException

---------------

System.AppDomainUnloadedException

System.ApplicationException

System.ArgumentException

System.ArgumentNullException

System.ArgumentOutOfRangeException

System.ArithmeticException

System.ArrayTypeMismatchException

System.BadImageFormatException

System.CannotUnloadAppDomainException

System.ComponentModel.Design.CheckoutException

System.ComponentModel.Design.Serialization.CodeDomSerializerException

System.ComponentModel.InvalidEnumArgumentException

System.ComponentModel.LicenseException

System.ComponentModel.WarningException

System.ComponentModel.Win32Exception

System.Configuration.ConfigurationException

System.ContextMarshalException

System.Data.ConstraintException

System.Data.DataException

System.Data.DBConcurrencyException

System.Data.DeletedRowInaccessibleException

System.Data.DuplicateNameException

System.Data.EvaluateException

System.Data.ExprException

System.Data.InRowChangingEventException

System.Data.InvalidConstraintException

System.Data.InvalidExpressionException

System.Data.MissingPrimaryKeyException

System.Data.NoNullAllowedException

System.Data.Odbc.OdbcException

System.Data.OleDb.OleDbException

System.Data.ReadOnlyException

System.Data.RowNotInTableException

System.Data.SqlClient._ValueException

System.Data.SqlClient.SqlException

System.Data.SqlTypes.SqlNullValueException

System.Data.SqlTypes.SqlTruncateException

System.Data.SqlTypes.SqlTypeException

System.Data.StrongTypingException

System.Data.SyntaxErrorException

System.Data.TypedDataSetGeneratorException

System.Data.VersionNotFoundException

System.DivideByZeroException

System.DllNotFoundException

System.Drawing.Printing.InvalidPrinterException

System.DuplicateWaitObjectException

System.EntryPointNotFoundException

System.Exception

System.ExecutionEngineException

System.FieldAccessException

System.FormatException

System.IndexOutOfRangeException

System.InvalidCastException

System.InvalidOperationException

System.InvalidProgramException

System.IO.DirectoryNotFoundException

System.IO.EndOfStreamException

System.IO.FileLoadException

System.IO.FileNotFoundException

System.IO.InternalBufferOverflowException

System.IO.IOException

System.IO.IsolatedStorage.IsolatedStorageException

System.IO.PathTooLongException

System.Management.ManagementException

System.MemberAccessException

System.Messaging.MessageQueueException

System.MethodAccessException

System.MissingFieldException

System.MissingMemberException

System.MissingMethodException

System.MulticastNotSupportedException

System.Net.CookieException

System.Net.ProtocolViolationException

System.Net.Sockets.SocketException

System.Net.WebException

System.NotFiniteNumberException

System.NotImplementedException

System.NotSupportedException

System.NullReferenceException

System.ObjectDisposedException

System.OutOfMemoryException

System.OverflowException

System.PlatformNotSupportedException

System.RankException

System.Reflection.AmbiguousMatchException

System.Reflection.CustomAttributeFormatException

System.Reflection.InvalidFilterCriteriaException

System.Reflection.ReflectionTypeLoadException

System.Reflection.TargetException

System.Reflection.TargetInvocationException

System.Reflection.TargetParameterCountException

System.Resources.MissingManifestResourceException

System.Runtime.InteropServices.COMException

System.Runtime.InteropServices.ExternalException

System.Runtime.InteropServices.InvalidComObjectException

System.Runtime.InteropServices.InvalidOleVariantTypeException

System.Runtime.InteropServices.MarshalDirectiveException

System.Runtime.InteropServices.SafeArrayRankMismatchException

System.Runtime.InteropServices.SafeArrayTypeMismatchException

System.Runtime.InteropServices.SEHException

System.Runtime.Remoting.MetadataServices.SUDSGeneratorException

System.Runtime.Remoting.MetadataServices.SUDSParserException

System.Runtime.Remoting.RemotingException

System.Runtime.Remoting.RemotingTimeoutException

System.Runtime.Remoting.ServerException

System.Runtime.Serialization.SerializationException

System.Security.Cryptography.CryptographicException

System.Security.Cryptography.CryptographicUnexpectedOperationException

System.Security.Policy.PolicyException

System.Security.SecurityException

System.Security.VerificationException

System.Security.XmlSyntaxException

System.ServiceProcess.TimeoutException

System.StackOverflowException

System.SystemException

System.Threading.SynchronizationLockException

System.Threading.ThreadAbortException

System.Threading.ThreadInterruptedException

System.Threading.ThreadStateException

System.Threading.ThreadStopException

System.TypeInitializationException

System.TypeLoadException

System.TypeUnloadedException

System.UnauthorizedAccessException

System.UriFormatException

System.Web.HttpApplication+CancelModuleException

System.Web.HttpCompileException

System.Web.HttpException

System.Web.HttpParseException

System.Web.HttpRequestValidationException

System.Web.HttpUnhandledException

System.Web.Services.Discovery.InvalidContentTypeException

System.Web.Services.Discovery.InvalidDocumentContentsException

System.Web.Services.Protocols.SoapException

System.Web.Services.Protocols.SoapHeaderException

System.Windows.Forms.AxHost+InvalidActiveXStateException

System.Xml.Schema.XmlSchemaException

System.Xml.XmlException

System.Xml.XPath.XPathException

System.Xml.Xsl.XsltCompileException

System.Xml.Xsl.XsltException


No comments:

Post a Comment