If I were you, I would just catch the Exception.
You could also read it in as a String, then check to make sure it's a valid number.
Type: Posts; User: KevinWorkman
If I were you, I would just catch the Exception.
You could also read it in as a String, then check to make sure it's a valid number.