Throwing an error when workbook validation fails

Partially closes bug: #1322421

Change-Id: I86b730d7b98a0f684881d53da340596f3c9ce7fe