Created the error handling for the ProcessSalaries method and sended a string argument to the input