Medline Industries interview question

How to deal with order invalid version exception