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 meant by throwing an Exception?

Answer Posted / jagadeesh

throwing the exception is nothing but collect all the error
releated info into the single and throw that objet into the
caller area

it contains all exception releated info
And most importantly it is the responsibility of the caller
to handle the exception by using try , catch blocks

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I declare class as static or private?

1010


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

8190


Can we have try block without catch block?

1091


How to restrict a member of a class from inheriting by its sub classes?

1390


Can we override the overloaded method?

1194


What are some examples of variable costs?

1005


What is the declaration statement?

996


What is charat ()?

985


What is wrapper class example?

1044


What is a class component?

1220


Why singleton pattern is better than creating singleton class with static instance?

1054


Can we declare the static variables and methods in an abstract class?

1031


What is the difference between an array and an array list?

1078


What is the base class of all exception classes in java?

1106


What do you mean by light weight and heavy weight components?

1067