CDCRuntimeExceptionHandler not able to catch ArithmeticException
Originally posted by N Chaurasia:
But the CDCRuntimeExceptionHandler is super class of ArithmeticException and if i am not wrong the super class can catch sub-class exception.
You'll need to make the parameter in the catch block ArithmeticException or one of its superclasses
i can say : CDCRuntimeExceptionHandler = ArithmeticException and CDCRuntimeExceptionHandler = RuntimeException since in both cases the CDCRuntimeExceptionHandler is super class.
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earthhttps://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter