getInteger returns min value on illegal number formats, so we change behavior to throw an exception when requested.