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

can we create object for static class in java

14 Answers   IAP Company, IBM, Marlabs, mPortal, TCS,


What are the different ways of implementing thread? Which one is more advantageous?

0 Answers  


What is the difference between array and array list in java?

0 Answers  


What is number data type in java?

0 Answers  


What are keywords in programming?

0 Answers  






How do you check if two strings are equal in java?

0 Answers  


what is the difference between yielding and sleeping? : Java thread

0 Answers  


What is the disadvantage of java?

0 Answers  


How can an object be unreferenced?

0 Answers  


How to perform quicksort in java?

0 Answers  


What are the types of relation?

0 Answers  


What do you mean by ternary operator in java?

0 Answers  


Categories