Thursday, March 12, 2009

Can you throw (and re-throw) an exception inside a catch{}

Question :Can you throw (and re-throw) an exception inside a catch{}
clause? (CoreJava)

Answer :Yes, It will cause the exception to be passed to the handlers at the nexthigher
level. All further catch clauses are ignored in the current try block.

No comments: