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

What loop means?

0 Answers  


which class is the wait() method defined in? : Java thread

0 Answers  


Describe what a thread-local variable is in java?

0 Answers  


Difference between this() and super() in java ?

0 Answers  


What is import java util arraylist?

0 Answers  






What Is Query Throttling in java?

0 Answers   HCL,


What lambda means?

0 Answers  


What is the smallest package in Java API?

5 Answers   iGate,


Is java written in c?

0 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


Explain OOPs concept.

0 Answers   Syntel, Visa,


Why sleep()is in Thread and wait() in Object class? Why can't I have both in one class or vice versa?

1 Answers  


Categories