Throw an OFInvalidArgumentException if serialization can't be parsed.