Version 2.0 provides some validation of inputted numbers. The technique used here for validation of inputs is not the standard throw and catch structure. The technique used here checks every char in the input string to confirm that it is really a decimal digit. This technique does not detect inputted integers that overflow the largest 32-bit int. That needs to be fixed in a future revision.
If you prefer the "throw and catch" technique you should certainly use what you prefer.