What is meant by throwing an Exception?

Answers were Sorted based on User's Feedback



What is meant by throwing an Exception?..

Answer / tejas.n.gowda

the act of passing an Exception Object to the runtime system
is called Throwing an Exception..

Is This Answer Correct ?    7 Yes 0 No

What is meant by throwing an Exception?..

Answer / 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

What is meant by throwing an Exception?..

Answer / ravikiran

throwing the exception to the calling method without
handing there

Is This Answer Correct ?    2 Yes 3 No

What is meant by throwing an Exception?..

Answer / akbar

Throwing exception means preventing the code from
exceptiion handling mechanism so that at Runtime system
throwing exception.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

How does arraylist size increase in java?

0 Answers  


What are the different types of inner classes?

0 Answers  


Can we override the main method?

4 Answers  


What is parsing in java?

0 Answers  


What is proper subset?

0 Answers  






why are there separate wait and sleep methods? : Java thread

0 Answers  


What is append in java?

0 Answers  


Can java cast null?

0 Answers  


What does t in java mean?

0 Answers  


How many bytes is a unicode character?

0 Answers  


Can a final variable be initialized in constructor?

0 Answers  


What is parsing and its types?

0 Answers  


Categories