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...

What is an Exception? How many exceptions exist in Dot net
and explain them?

Answer Posted / manikanta.srinu

Exception is not an error,It's abnmormal
condition.Exceptions will be raise at runtime.if you want
to handle exception,we can use try-catch block.
There are 2 types of exception.
1).System Exception
2).Application Exception
The above two exception are genarated from "Exception" base
class.
SystemException: is meant only for those exceptions defined
by the common language runtime.
Ex:NullReferenceException
ApplicationException: is thrown by a user program.
By using this,we can throws our own exception message.

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a strong name in .net?

998


Explain is the jit an interpreter?

989


i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?

2322


Explain what is the difference between odbc and ado?

993


When displaying fonts, what is the difference between pixels, points and ems?

1143


Explain what are an object and a class?

1034


How to implement getcommon method in class a? Are you seeing any problem in the implementation?

1023


Describe the programming model of a windows service

1012


Explain the process of compilation in .NET?

1071


Where does the gac exist ?

959


Explain what is the difference between a class and an object?

1181


How anonymous method is different from a lambda expression?

957


Explain the code behind wors and contrast that using the inline style.

964


Explain what is an anonymous method and how is it different from a lambda expression?

900


Please explain what inheritance is, and why it's important?

943