In the process of expanding NumberUtils testing. Also removed some
unnecessarily thrown exceptions and added some explicit parameters in
multiple files to solve warnings.