Throw syntax error instead of "For input string"