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 the base class of Button control in .NET?

1028


Explain the .net framework overview?

992


What are the security policy levels in .Net

2030


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

894


Explain webfarm vs webgardens in .net?

1030


Is .net a language?

974


How will you register com+ services?

1992


Explain the different types of proxy patterns?

1176


What are asp.net authentication providers and iis security?

985


Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

1047


What are the advantages of .net?

945


What is the use of gacutil.exe?

1173


Explain what is heap and what is stack?

1004


Explain the garbage collection process?

1027


What is the difference between vb.net and vc#.net?

1082