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

Explain the differences between server-side code and client-side code.

1096


How com+ related to the dna architecture?

1111


What is smart navigation in .net?

1046


Explain difference between panel and groupbox classes using .net?

1051


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

940


Explain me why do we use msmq?

1046


What is a serviced component?

1015


What is .net assembly?

1062


What does cil do?

1016


Explain what is heap and what is stack?

1082


How anonymous method is different from a lambda expression?

1012


What is a formatter in .net?

1035


Explain the difference between garbage collections in .net 4.0 and earlier versions?

1096


Will it go to finally block if there is no exception happened?

1002


object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....

2107