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 the need of "creating and throwing an
UserdefinedException" when the "Exception" class is already
available?

Answer Posted / sri

if you want you could specify your own exception that you
know is gonna happen otherwise it is recommended to handle
the exception through exception class in catch block.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which package is imported by default?

1045


what is a green thread? : Java thread

967


What is literal example?

910


What do you mean by an object in java?

1093


What is array pointers ?

997


What is the difference between a scrollbar and a scrollpane?

1011


What is hasnext in java?

985


What are java threads?

1080


Write a code to show a static variable?

1052


What happens if constructor is private?

986


How many types of classes are there in java?

1016


Why are the destructors for base class and derived class called in reverse order when the program exits

2149


How many decimal digits is 64 bit?

898


What are data types in programming?

958


What is difference between static class and normal class?

1060