Thursday, March 12, 2009

What happens if an exception is not caught (CoreJava)

Question :What happens if an exception is not caught? (CoreJava)
Answer :An uncaught exception results in the uncaughtException() method of the
thread's ThreadGroup being invoked, which eventually results in the
termination of the program in which it is thrown.

No comments: