java scanner nextint try catch