What is meant by throwing an Exception?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ravikiran
throwing the exception to the calling method without
handing there
| Is This Answer Correct ? | 2 Yes | 3 No |
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 |
What is maximum size of arraylist in java?
Why do we need wrapper classes?
System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...
What is the effect of keeping a constructor private?
What is a function easy definition?
Is string an object?
Explain how to force the garbage collection in java.
What is run time polymorphism?
6 Answers eClerx, Elementus Technologies,
What does java se mean?
What is a function argument in java?
Can each java object keep track of all the threads that want to exclusively access it?
What is deadlock and how to avoid this?