[java] Java - checking if parseInt throws exception