readline, parse string to number, exception, scanner