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 string be considered as a keyword?

0 Answers  


State the significance of public, private, protected class?

0 Answers  


Can you have an inner class inside a method and what variables can you access?

2 Answers  


Explain method overloading and overriding?

6 Answers  


What is singleton math?

0 Answers  






What is a null point?

0 Answers  


What is the main use of generics in java?

0 Answers  


What are assertions in java?

1 Answers   Impetus,


How to sort a collection of custom Objects in Java?

0 Answers  


Is java code slower than native code?

0 Answers  


List some important features of java 10 release?

0 Answers  


v-model life cycle

0 Answers   Virtusa,


Categories