Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell me something about Exceptions. What is the common
exception class?

Answers were Sorted based on User's Feedback



Tell me something about Exceptions. What is the common exception class?..

Answer / nitin

Exception is error which is generally Generated by the
Application during at runtime.

System.Exception is the common exception class

Is This Answer Correct ?    4 Yes 0 No

Tell me something about Exceptions. What is the common exception class?..

Answer / tiger kumar

Exception is used to handle the errors during the runtime of
the process.It has the three parts.Try,Catch,Finally.The try
is the part of the set of code.Whenever the errors occur in
the Try block it comeout from the try block and the catch
block handles exception class the error.
Finally is little differ from the catch.Because Finally is
must executable part whether it has error or not.

Mostly which is used for close the objects.

try
{
int i =10;
int sum =i/0;
Response.Write("sum is:"+sum);
}
catch(Exception oEx)
{
Response.Write("Error:"+oEx.ToString());
}
catch(DivideByZeroException oEx1)
{
Response.Write("Error:"+oEx1.ToString());
}

Is This Answer Correct ?    3 Yes 1 No

Tell me something about Exceptions. What is the common exception class?..

Answer / vinoth

Exception is one that occurs in runtime.The general
exception class is Exception.This class is the base of
every exception.This class is able to catch all types of
exception.

Is This Answer Correct ?    2 Yes 1 No

Tell me something about Exceptions. What is the common exception class?..

Answer / karthick

An excepion is an erroneous situation that occurs during
program execution.The error is handled through the process
of exception handling.All excetions are derived from the
System.Exception class,which is the parent class of all
exception.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Sharp Interview Questions

If dll and exe files are same it means you can deploy both the files in gac?

0 Answers  


What is a custom attribute?

0 Answers  


c# code for how to merge two sorted arrays Input : A = 2,5,8,4 B = 3,9,10,5 Output : 2,3,4,5,5,8,9,10

3 Answers  


What is the task perform by clr?

0 Answers  


Why we can't create the object of abstract class ?

15 Answers   Assyst, CTS, HCL, IBM, L&T,


How to use reflection to call generic method?

0 Answers  


What do you mean by “finalize” and “finally” methods in c#?

0 Answers  


What is a collection in c#?

0 Answers  


Write a program in C# for checking a given number is PRIME or not.

0 Answers  


What floating point types is supported in C#?

0 Answers  


How do you concatenate in c#?

0 Answers  


An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.

6 Answers   Synechron,


Categories