Throw if you expect that the input should never be invalid.
Don't throw, and do friendly logging and reporting of your parsing errors, if this is uncontrollable third party input.