It says that an exception has occured when it was trying to converta string to int, but it did not found any valid int in stringi.e, "".In ur code test whether the incomming string is blank or not.