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.
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Devious Experiments for a Truly Passive Greenhouse!https://www.kickstarter.com/projects/paulwheaton/greenhouse-1