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
range.
ArithmeticException Arithmetic over - or underflow has
occurred.
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
runtime.
DivideByZeroException An attempt was made to divide by
zero.
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
accessed.
NotFiniteNumberException A number is not valid.
NotSupportedException Indicates sthat a method is not
implemented by a class.
NullReferenceException Attempt to use an unassigned
reference.
OutOfMemoryException Not enough memory to continue
execution.
StackOverflowException A stack has overflown.
| Is This Answer Correct ? | 18 Yes | 2 No |
What are demand-paging and pre-paging?
Interface and Abstract class, inheritance, abstraction with examples. Polymorphism (difference betn overloading and overriding
what is differences between bind and eval?
How to bind all the binding controls in a page at once in ASP.NET?
What is custom attribute? How to create?
Explain what a diffgram is, and a good use for one?
How does session id work?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Can you explain one critical mapping? Performance issue which one is better?
Difference between asp and asp.net?
What are Master Pages in ASP.NET? or What is a Master Page?
what is the difference b/w Asp.net server controls and html server controls in .net?
2 Answers iGate, Profiniti Systems,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)