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

What is the importance of main method in Java?

1044


How many inner classes can a class have?

1030


Can private class be inherited in java?

1015


Why is java called java?

1032


Is java same as core java?

1073


What is final modifier?

1034


Is this valid in java ? Can we instantiate interface in java?

957


How does a cookie work in Servlets?

830


What mechanism does java use for memory management?

954


What does void * mean?

1012


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1839


What are different types of states exist for a thread?

998


What is the difference between serializable and externalizable interface?

1078


What is passed by reference and pass by value ?

1019


What is illegal identifier in java?

995