Add a unit test for handling a null exception
Removed deprecated API's for 3.0.0 release
This saves about 2.5KB in the jar size (which obviously does not include the unit test code)