Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Types of exceptions in dot net???

Types of exceptions in dot net???..

Answer / arpit bhatnagar

Exception Class Cause
SystemException A failed run-time check;used as a base
class for other.
AccessException Failure to access a type member, such as a
method or field.
ArgumentException An argument to a method was invalid.
ArgumentNullException A null argument was passed to a
method that doesn't accept it.
ArgumentOutOfRangeException Argument value is out of
ArithmeticException Arithmetic over - or underflow has
ArrayTypeMismatchException Attempt to store the wrong type
of object in an array.
BadImageFormatException Image is in the wrong format.
CoreException Base class for exceptions thrown by the
DivideByZeroException An attempt was made to divide by
FormatException The format of an argument is wrong.
IndexOutOfRangeException An array index is out of bounds.
InvalidCastExpression An attempt was made to cast to an
invalid class.
InvalidOperationException A method was called at an
invalid time.
MissingMemberException An invalid version of a DLL was
NotFiniteNumberException A number is not valid.
NotSupportedException Indicates sthat a method is not
implemented by a class.
NullReferenceException Attempt to use an unassigned
OutOfMemoryException Not enough memory to continue
StackOverflowException A stack has overflown.

Is This Answer Correct ?    18 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

if you disable view state of a textbox will it maintain data during postbacks.if yes reason

9 Answers   FactorH, Jindal, Oxi Infotech,

How to implement Authentication and Authorization?

0 Answers   QuestPond,

Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

2 Answers  

What would be the salary of an developer with 1 and half year experience in indian rupees..??

5 Answers  

How to identify host of my system? How to identify servername of my system? How to identify domainname of my system?

2 Answers  

Explain about state management?

0 Answers  

List down the sequence of methods called during the page load.

0 Answers  

How much data (Max K) can go into a QueryString?

4 Answers   TCS, WEB,

what is COM Object in Dot net?

6 Answers   CTS,

What is considered a service provider?

0 Answers  

Difference between response.redirect and server.transfer?

0 Answers  

How do you initiate validation on the server manually? What are two situations when you might you want to do that?

0 Answers